[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Should aria-hidden be effected by aria-owns? #1818

Open
WilcoFiers opened this issue Sep 29, 2022 · 2 comments · May be fixed by #1839
Open

Should aria-hidden be effected by aria-owns? #1818

WilcoFiers opened this issue Sep 29, 2022 · 2 comments · May be fixed by #1839
Assignees
Labels
clarification clarifying or correcting language that is either confusing, misleading or under-specified
Milestone

Comments

@WilcoFiers
Copy link
Contributor

The description of aria-hidden has the following text:

https://www.w3.org/TR/wai-aria-1.2/#aria-hidden
An element is considered hidden if it, or any of its ancestors are not rendered or have their aria-hidden attribute value set to true.

This would suggest that if I do something like the following, my list would be empty, because the li is hidden.

  <ul aria-owns="li"></ul>
  <div aria-hidden="true">
    <li id="li">Child node</li>
  </div>

This doesn't seem to be the case when testing in Chrome and Firefox. There it seems that aria-owns is taking priority over aria-hidden. Intuitively, that does make sense to me. So then that makes me wonder whether that phrase in aria-hidden should be changed to maybe something like:

An element is considered hidden if it, or any of its ancestors are not rendered**, or if any of its Owner Elements** have their aria-hidden attribute value set to true.

@spectranaut
Copy link
Contributor

Discussed last meeting: https://www.w3.org/2022/10/13-aria-minutes#t06

@spectranaut
Copy link
Contributor

The decision of the working group is to update the spec according to match the behavior of Chrome and Firefox.

@pkra pkra added this to the ARIA 1.3 milestone Jun 28, 2023
@pkra pkra added the clarification clarifying or correcting language that is either confusing, misleading or under-specified label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification clarifying or correcting language that is either confusing, misleading or under-specified
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants