WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Lang attributes not being respected by VoiceOver in select options?

for

From: Steve Green
Date: Apr 21, 2022 8:38AM


I think you are on to something here, David. When a combobox is open, the select element retains focus the whole time. It therefore would make sense that everything that screen readers say will use its "lang" attribute.

The options go into a "selected" state as you navigate through the list, but they do not receive focus. Modifying the "lang" attribute for the select element to match the selected option would work in principle, but there is no guarantee it will work in practice.

Steve Green
Managing Director
Test Partners Ltd