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

Combobox label is not used as the accessible name #2401

Open
m-akinc opened this issue Sep 18, 2024 · 0 comments
Open

Combobox label is not used as the accessible name #2401

m-akinc opened this issue Sep 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@m-akinc
Copy link
Contributor

m-akinc commented Sep 18, 2024

🐛 Bug Report

The slotted label text should be treated as the accessible name of the combobox.

💻 Repro or Code Sample

image
image

Apparently it uses the placeholder text, if set.

💁 Possible Solution

Set an id on the label in the template and set aria-labelledby on the input.

@m-akinc m-akinc added bug Something isn't working triage New issue that needs to be reviewed labels Sep 18, 2024
@m-akinc m-akinc moved this to Current Iteration in Nimble Design System Priorities Oct 1, 2024
@m-akinc m-akinc removed the triage New issue that needs to be reviewed label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Current Iteration
Development

No branches or pull requests

1 participant