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 allowances for wbr and br elements #42

Closed
scottaohara opened this issue Sep 23, 2021 · 2 comments
Closed

Update allowances for wbr and br elements #42

scottaohara opened this issue Sep 23, 2021 · 2 comments

Comments

@scottaohara
Copy link
Contributor

The wbr element presently allows all roles and global aria-* attributes. This was an oversight that will be corrected in the next version of the ARIA in HTML specification.

The allowed roles should now only be none and presentation.
The only allowed aria-* attribute should be aria-hidden.

Additionally, the br element also needs to be updated to remove the allowance for all global aria attributes – instead only allowing for the aria-hidden attribute. This will then match the allowances for the wbr element, described above.

@gezlemon
Copy link
Collaborator

gezlemon commented Oct 5, 2021

Thanks, @scottaohara . I've updated the rules so that only "none" and "presentation" are valid roles, and the only valid aria-* attribute is aria-hidden.

@scottaohara
Copy link
Contributor Author

thank you very much @gezlemon

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

2 participants