SIA-R64Heading has non-empty accessible name

Accessibility requirements

This rule tests conformance of the following accessibility requirements:

Description

This rule checks that each heading has a non-empty accessible name.

Applicability

This rule applies to every element in the HTML namespace with the semantic role of heading that is included in the accessibility tree.

Expectations

  1. Each test target has a non-empty ("") accessible name.

Assumptions

This rule makes no assumptions.

Accessibility support

  • Some assistive technologies may hide headings with empty accessible name from the users. This depends both on the user agent and how the accessible name was computed (the accessible name and description computation is not clear concerning which characters should be trimmed) and of the assistive technology itself. Hence, there are cases where the outcome of this rule is failed, but users of certain assistive technology and browser combinations will not experience an issue.

  • Implementation of Presentational Roles Conflict Resolution varies from one browser or assistive technology to another. Depending on this, some elements can have a semantic role of heading and fail this rule with some technology but users of other technologies would not experience any accessibility issue.

Examples

Acknowledgments

This document includes material copied from or derived from https://www.w3.org/WAI/standards-guidelines/act/rules/ffd0e9/. Copyright © 2024 W3C® (MIT, ERCIM, Keio, Beihang).