w3c / html-aam

HTML Accessibility API Mappings - new spec updates should be made in https://github.com/w3c/aria/tree/main/html-aam
https://w3c.github.io/html-aam/
Other
103 stars 27 forks source link

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

Open scottaohara opened 1 week ago

scottaohara commented 1 week ago

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

spectranaut commented 5 days ago

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.