KEMBAR78
disallow aria-hidden on body element by scottaohara · Pull Request #447 · w3c/html-aria · GitHub
Skip to content

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Mar 3, 2023

related to w3c/aria#1254

closes #221 - there were comments to do more with aria-hidden rules beyond just disallowing it on body, but i'm going to make a new issue for potentially covering those topics.


labels: needs implementation commitment, needs changelog entry


Preview | Diff

related to w3c/aria#1254

closes #221 - there were comments to do more with aria-hidden rules beyond just disallowing it on body, but i'm going to make a new issue for potentially covering those topics.
@scottaohara scottaohara added Allowed aria-* attributes needs changelog entry once 2 implementations land, we can merge and note it in our changelog. labels Mar 3, 2023
as `aria-hidden=false` doesn't seem to cause any problems, even per the note in ARIA to use with caution:
>At the time of this writing, aria-hidden="false" is known to work inconsistently in browsers. As future implementations improve, use caution and test thoroughly before relying on this approach.

let's limit this rule to just `aria-hidden=true`
@scottaohara scottaohara added Meets 2 implementations req Indicates that a spec change has met the necessary 2 implementations needed to merge. and removed needs changelog entry once 2 implementations land, we can merge and note it in our changelog. labels Mar 6, 2023
Copy link
Member

@patrickhlauke patrickhlauke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, thanks @scottaohara

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Allowed aria-* attributes Meets 2 implementations req Indicates that a spec change has met the necessary 2 implementations needed to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

disallow aria-hidden on the body element

2 participants