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

Add support for aria-labeledby (not labeLLedby) #4284

Open
WilcoFiers opened this issue Dec 20, 2023 · 2 comments
Open

Add support for aria-labeledby (not labeLLedby) #4284

WilcoFiers opened this issue Dec 20, 2023 · 2 comments
Labels
feat New feature or enhancement standards Issues in the ARIA standards objects (lib/standards) wai-aria

Comments

@WilcoFiers
Copy link
Contributor

This synonym attribute seems to have full support in the three major browser engines now:
w3c/aria#2093

Should do some screen reader testing, but from the sound of if this should no longer fail axe-core's button-name rule:

<span hidden id="search">Search</span>
<button class="search-icon" aria-labeledby="search"></button>
@WilcoFiers WilcoFiers added feat New feature or enhancement wai-aria standards Issues in the ARIA standards objects (lib/standards) labels Dec 20, 2023
@cookiecrook
Copy link

Or fail with a warning ("Attribute misspelled") instead of an error.

@cookiecrook
Copy link

Actually looking at the results in Gecko (click show details), Firefox's implementation of the non-standard spelling is very incomplete, so it's possible the ARIA WG decision may not be to document and keep it. Probably best for Axe Core not to change until that decision is made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or enhancement standards Issues in the ARIA standards objects (lib/standards) wai-aria
Projects
None yet
Development

No branches or pull requests

2 participants