Created attachment 196497 [details] Example file from Writer with character style applied Attached document contains a Heading 1 style paragraph with one word overridden by a character style. The Accessibility sidebar does not warn about this situation. If the same formatting would happen with direct formatting, there is a warning. 1. Open attached document 2. Open the Accessibility sidebar -> No warning, despite the consectetur word having a distinct formatting due to the PLACEHOLDER character style. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: e6e7b8498aba69af8eee8edd1d3a1fb17c36836a CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: en-US Calc: threaded and back to 7.2
Created attachment 196498 [details] The document with the Accessibility sidebar open
I confirm the observed behaviour. I'm not familiar with accessibility check, but when I look at the options I can only see "Check if the document contains direct formatting". So do you expect a new option "Check if the document contains character styles"?
I remove all formatting from the line (paragraph and character), and I applied Heading 1 to all line, and for one word I applied italic (direct formatting). I have no accessibility warning for this case. Also for your case...
The main issue with using direct formatting - and as another way of reaching the same look - char style on top of para style is this: https://www.w3.org/WAI/WCAG21/Techniques/general/G117 So here they suggest that if text formatting conveys some extra meaning, then this meaning is also explicitly spelled out. Applying char style over para style is another way of using text formatting to imply extra meaning. This may or may not be spelled out explicitly, so adding a warning about these would make sense.
(In reply to BogdanB from comment #3) > I remove all formatting from the line (paragraph and character), and I > applied Heading 1 to all line, and for one word I applied italic (direct > formatting). I have no accessibility warning for this case. Also for your > case... I can not reproduce this. Moving the cursor to the next empty paragraph makes the warning appear in the sidebar.