Bug 215609 - AX: Input fields read accessible name in OS language not HTML language
Summary: AX: Input fields read accessible name in OS language not HTML language
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari Technology Preview
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-08-18 08:58 PDT by James Nurthen
Modified: 2020-08-18 08:59 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>