Bug 215609

Summary: AX: Input fields read accessible name in OS language not HTML language
Product: WebKit Reporter: James Nurthen <nurthen>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac   
OS: macOS 10.15   

Description James Nurthen 2020-08-18 08:58:19 PDT
See testcase at https://codepen.io/jnurthen/live/PoNzgdq - note my system is running in US English

    <div lang="fr">
      <button>en français</button>
      <label>Prénom<input type="text"></label>
    </div>

The button reads correctly with the accessible name in French and the role in english
The Static text on the screen reads correctly in French
but the input field reads as "preeenom edit text" (i.e. with Prénom read with the English voice) - the accessible name should be read in the HTML language not the OS language.
Comment 1 Radar WebKit Bug Importer 2020-08-18 08:59:47 PDT
<rdar://problem/67330348>