Bug 229306 - AX: Voiceover does not read in correct language when lang attr added on or within option
Summary: AX: Voiceover does not read in correct language when lang attr added on or wi...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 14
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-19 14:28 PDT by kaylee
Modified: 2021-08-19 14:28 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kaylee 2021-08-19 14:28:04 PDT
I made a codepen to demonstrate this behavior: https://codepen.io/kaylee42/pen/Exmqgjq

When I use the lang attribute on a paragraph, Voiceover correctly reads the paragraph in the designated language.

However, when I set the lang attribute on an option within a select (either on the option tag itself, or on a span within the option), Voiceover reads with the pronunciation of the default language (in this case, English). This makes it almost impossible to understand what the options are within the select. The lang attribute should be expose to Voiceover both when it is on the option itself and on a span within the option to improve accessibility of selects.
Comment 1 Radar WebKit Bug Importer 2021-08-19 14:28:16 PDT
<rdar://problem/82142071>