interop-accessibility icon indicating copy to clipboard operation
interop-accessibility copied to clipboard

Resolve accessibility issues in datalist

Open zcorpan opened this issue 1 year ago • 3 comments

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 avatar Jan 11 '24 17:01 zcorpan

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

  • https://bugzilla.mozilla.org/show_bug.cgi?id=641356
  • https://bugzilla.mozilla.org/show_bug.cgi?id=1756203

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.

zcorpan avatar Mar 01 '24 12:03 zcorpan

Possible paths forward:

  • [ ] manually test with browser zoom, css zoom, contrast settings, and screen readers in each engine on each platform
  • [ ] file any bugs discovered
  • [ ] investigate role and label tests
  • [ ] investigate if MQ test for @media (prefers-contrast: more) can be added here https://github.com/web-platform-tests/wpt/tree/07920967d79b3c88d440ddede3f7f5dc3b81c573/css/mediaqueries
  • [ ] investigate device pixel ratio tests (maybe not reflected by browser zoom)???

cookiecrook avatar Mar 05 '24 17:03 cookiecrook

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

zcorpan avatar Apr 24 '24 14:04 zcorpan