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

Write tests for input elements supplying name by aria-labelledby #165

Open
extra808 opened this issue Jan 2, 2025 · 0 comments
Open

Write tests for input elements supplying name by aria-labelledby #165

extra808 opened this issue Jan 2, 2025 · 0 comments

Comments

@extra808
Copy link

extra808 commented Jan 2, 2025

Regardless of how an input element is named (implicit or explicit <label>, aria-label, aria-labelledby, etc.), or its input type, if another element references it using aria-labelledby, that name should be supplied.

Example, both elements, button and input, should be read as "Check A" by assistive technologies:

<button aria-labelledby="check-a"></button> <input id="check-a" type="checkbox"> <label for="check-a">Check A</label>

Related WebKit (on macOS) bug: 284774

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

1 participant