WebAIM - Web Accessibility In Mind

E-mail List Archives

Potential Firefox bug with W3C ARIA pattern?


From: Graham Armfield
Date: Jul 27, 2022 7:13AM

Hi All,

I've been having a look at the W3C's ARIA APG patterns and using them to
demo screen readers to developers. I've come across a situation in NVDA on
Firefox on one of the patterns where I'm not hearing expected
announcements. I'm not certain but I think it's a bug in Firefox, and I
wondered if anyone else had come across this.

It's on the Select-Only Combobox pattern at
which effectively presents equivalent functionality to the HTML select

When running NVDA over the working example in the page everything seems to
work OK, except that NVDA does not announce the current value of the
combobox - whether it's set to the initial default value or after selecting
one of the items to change the value to something else.

I've tried NVDA on the same page in Chrome and the current value is
announced. JAWS also announces the value in Chrome, but not in Firefox so
I'm guessing this is an issue in Firefox.

The value is presented as text inside a div with a role=combobox, and I'm
guessing that maybe the presence of aria-labelledby on the div might be
causing the suppression of the text.

Anyone got any thoughts on this?

Graham Armfield

coolfields.co.uk <http://www.coolfields.co.uk/>;
M:07905 590026
T: 01483 856613
@coolfields <https://twitter.com/coolfields>