web-platform-tests / interop-accessibility

Accessibility Testing for WPT
https://wpt.fyi/results/?q=label%3Aaccessibility
39 stars 5 forks source link

Resolve accessibility issues in datalist #95

Open zcorpan opened 8 months ago

zcorpan commented 8 months ago

See https://github.com/web-platform-tests/interop/issues/547 by @joppekroon

Description

The datalist element is highly interesting, but due to the accessibility issues can not be relied upon to work.

MDN mentions three issues:

1. No support for Zoom.

2. No support for high contrast mode.

3. No announcement for content by some screen readers.

Rationale

Resolving these issues could lift the datalist to be a viable replacement to overengineered select/combo box solutions.

In my limited testing it looks like issue 3 has been fixed. Issue 2 seems to be fixed as well, on Windows the datalist listens to HCM although improved styling support in general would be appreciated of course. But issue 1, reacting to zoom, is still a problem.

Investigation Roadmap

No response

Also see https://github.com/web-platform-tests/interop-accessibility/issues/23 , filing this separately in case the scope is different.

zcorpan commented 7 months ago

For Gecko, I found these bugs for datalist in component Disability Access:

There's also a meta bug for datalist generally: https://bugzilla.mozilla.org/show_bug.cgi?id=1638433

Per @MReschenberg, high contrast mode is also an issue.

cookiecrook commented 7 months ago

Possible paths forward:

zcorpan commented 5 months ago

Also see https://a11ysupport.io/tech/html/datalist_element