-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Accessibility support
From @giacomo-petri on #2258
In the Heading is descriptive rule, while the applicability is clear and excludes empty headings, a procedural testing approach does not automatically exclude such cases. Since we test real-world scenarios rather than strictly adhering to ACT applicability rules, empty headings that are deemed inapplicable in the rule may still be flagged as issues in specific tests.
<html lang="en"> <p role="heading" aria-level="1"></p> </html>ACT Rules
Test cases
Test case 1
<html lang="en"> <h1></h1> </html>Test instructions
Pres VO u to open up the VoiceOver rotor. Then select heading and arrow down.
Tes Case 2
<html lang="en"> <p role="heading" aria-level="1"></p> </html>Test instructions
Pres VO u to open up the VoiceOver rotor. Then select heading and arrow down.
Test results
Test Case 1
Latest VoiceOver and Safari on the mac as of 2025-10-13 exposes empty headings. When you navigate through the rotor settings, it says "heading level x".
Test Case 2
Latest VoiceOver and Safari on the mac as of 2025-10-13 exposes empty headings. When you navigate through the rotor settings, it says "heading level x".