-
Notifications
You must be signed in to change notification settings - Fork 78
Description
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">
<h1></h1>
</html>
<html lang="en">
<p role="heading" aria-level="1"></p>
</html>
Even though navigating node by node these elements are skipped, they are still exposed as empty headings. When navigating the page using the VoiceOver rotor for example, they appear as empty headings, making the experience unclear and confusing for assistive technology users.
I believe we should avoid including inapplicable examples that could still fail in practice, as this leads to inconsistent mappings across different tools.