Skip to content

[b49b2e] Heading is descriptive - Inapplicable examples #2258

@giacomo-petri

Description

@giacomo-petri

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions