It should be possible to "Ignore" warnings in the a11y sidebar. Ignored warnings should be hidden in the list of a11y issues. Also, there should be a way to show which warnings have been ignored. Needs a way to store the list of ignored warnings in the document.
I'd take this to a different direction. Some warnings we currently have in the sidebar do not result in an error being reported by the PAC tool (https://pac.pdf-accessibility.org/en ). To help users prioritizing issues, I suggest to: * introduce separate issue categories, Error and Warning, based on how the PAC tool reports them (which also has this sort of distinction) * show warnings in a separate section below errors * do not count warnings in the PDF Export dialogs confirmation popup, only the errors * warnings usually do not have/need a Fix button, instead we could show an Explanation button ( (i) icon?) that would show on press/highligh/hover why is something considered incorrect and how to fix it.
Created attachment 195019 [details] Example file with some accessibility warnings
Created attachment 195020 [details] The example file exported as PDF/UA
Created attachment 195021 [details] Warnings in the side bar, but no warnings in PAC tool
Created attachment 195022 [details] The PDF Export dialog gives another warning about all these issues Another angle when demoting A11Y issues to warnings could be the PDF export dialog, which gives a popup before exporting, if the PDF/UA box is enabled and there are some issues. The number here can be scarily high, in a large document with lots of direct formatting (which is also fine, usually) this can be overwhelming. See also bug 159906. So this popup should only count the real errors, and skip the less important warnings.
Todo for me: check all the A11Y checks and decide exactly which ones can be considered warnings, and what would be their explanation text.
Balazs Varga committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/33ea719d6c6ad23dfca088853d95d5688782da2d tdf#157233 - A11y: Add global Accessibility check options for It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.