Bug 229306

Summary: AX: Voiceover does not read in correct language when lang attr added on or within option
Product: WebKit Reporter: kaylee <kayleeknowles42>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: All   
OS: All   

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>