Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aria-level on heading mapping to reflect UIA limitation #1757

Closed
aldietz opened this issue Jun 14, 2022 · 5 comments
Closed

Update aria-level on heading mapping to reflect UIA limitation #1757

aldietz opened this issue Jun 14, 2022 · 5 comments
Assignees
Milestone

Comments

@aldietz
Copy link

aldietz commented Jun 14, 2022

We received a Chromium bug where aria-level values > 9 on heading do not work.

A commit in 2014 added this limitation due to UIA restrictions. UIA maps the aria-level on heading to the StyleId_Heading value, which is limited to 1 through 9.

Suggesting an update to the core-aam mapping for aria-level on heading to more clearly reflect this value range limitation or link to the StyleId_Heading documentation.

@joanmarie

@JAWS-test
Copy link
Contributor

@JAWS-test
Copy link
Contributor

https://w3c.github.io/aria-practices/#structural_roles restricts the use of aria-level to the values 1-6. I did not find this restriction in the ARIA specification itself. This should definitely be unified. If aria-level is really limited to 1-6 for headings, then this issue and the Chromium bug would be solved.

@aleventhal
Copy link
Contributor

aleventhal commented Jun 15, 2022 via email

@jnurthen jnurthen transferred this issue from w3c/core-aam Jun 16, 2022
@jnurthen jnurthen added this to the ARIA 1.4 milestone Jun 16, 2022
@scottaohara
Copy link
Member

additional notes for this issue:

  • indicate what happens (handling author errors) for if aria-value is greater than 9, or a negative value... zero...
  • mention of capping at 9 to the aria-level and role=heading definitions

@jnurthen
Copy link
Member

jnurthen commented Sep 8, 2023

The spec now has a note about this.
https://w3c.github.io/aria/#aria-level
Can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants