WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: David Farough
Date: Apr 21, 2022 7:03AM


I tried this as well.
It appears to me that the screen reader may be speaking the contents of the edit rather than the option being selected.
Perhaps the best approach might be to modify the lang setting for the edit to match the option being selected.

Not sure that this would work however. The screen reader might not recognize the change of language without a virtual screen refresh.

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of jp Jamous
Sent: Wednesday, April 20, 2022 7:26 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Lang attributes not being respected by VoiceOver in select options?

I have experienced certain behaviors with other components in the past. Have you tried adding the language to each <option> instead of the <select>? I would also recommend pressing Insert + spacebar followed by z, to load the JAWS default settings. That tends to help. Not sure why with my own personal settings, JAWS does not always switch the synthesizer. I typically don't change my settings from the default ones, except to readability preferences that do not get impacted by HTML. Yet, if I load the default settings, I always hear the change in synthesizers. It is worth trying that.


From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of glen walker
Sent: Wednesday, April 20, 2022 6:15 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Lang attributes not being respected by VoiceOver in select options?

Hmm, interesting. I have the languages installed in my Voiceover settings but none of them are used *except* for Chinese. I *do* hear the last option in the select announced in Chinese. Not sure why j External ( <EMAIL REMOVED> <mailto: <EMAIL REMOVED> >)
INKY is learning...<https://protection.inkyphishfence.com/report?id=bmV0b3JnZnQxMDM2OTU1NC9qcEBqZXBlbHN5LmNvbS8zZDMzNDE5NDk3YTFmM2NkMzliMTM2ZDhkMDBjM2NiNS8xNjUwNDk2NTEyLjM5#keyÌb77326ed2dc7e59ac09e1890e240ff> Report This Email<https://protection.inkyphishfence.com/report?id=bmV0b3JnZnQxMDM2OTU1NC9qcEBqZXBlbHN5LmNvbS8zZDMzNDE5NDk3YTFmM2NkMzliMTM2ZDhkMDBjM2NiNS8xNjUwNDk2NTEyLjM5#keyÌb77326ed2dc7e59ac09e1890e240ff> FAQ<https://www.inky.com/banner-faq> GoDaddy Advanced Email Security, Powered by INKY<https://www.inky.com/protection-by-inky>


Hmm, interesting. I have the languages installed in my Voiceover settings

but none of them are used *except* for Chinese. I *do* hear the last

option in the select announced in Chinese. Not sure why just that one is

honored.



But I hear the same ignoring of the language with the option element with

JAWS and NVDA too, but all the languages are ignored, including Chinese.



I tried setting the language on the <select> element as well as the <label>

element. The label itself could be read in another language but when I

displayed the dropdown list, it switched back to English.



I'm not aware of a workaround. Just confirming your results, sorry.