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

specify unique behavior for label attribute on option in datalist #568

Open
scottaohara opened this issue Nov 7, 2024 · 1 comment
Open

Comments

@scottaohara
Copy link
Member

within a select element, if an option has a label attribute and child content, the label attribute value renders and the child content does not.

but within a datalist, if an option has both a label attribute and child content, both will render.

browsers expose this differently - where chromium exposes both pieces of information, firefox renders both but only exposes one, and safari only renders and exposes one of the two.

this needs cleanup

scottaohara added a commit to w3c/aria that referenced this issue Nov 7, 2024
this commit also contains commented out content to address w3c/html-aam#568 in a future PR
@spectranaut
Copy link
Contributor

Discussed briefly in triage: https://www.w3.org/2024/11/14-aria-minutes.html#ffff

We could bring up in meeting to try to find someone who wants to champion recommending a way forward.

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

No branches or pull requests

2 participants