Bug 229305 - AX: VoiceOver does not read in the correct language with input type="tel"
Summary: AX: VoiceOver does not read in the correct language with input type="tel"
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-19 13:39 PDT by Liam DeBeasi
Modified: 2021-08-19 13:41 PDT (History)
2 users (show)

See Also:


Attachments
Xcode app reproduction (37.27 KB, application/zip)
2021-08-19 13:39 PDT, Liam DeBeasi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liam DeBeasi 2021-08-19 13:39:44 PDT
Created attachment 435901 [details]
Xcode app reproduction

When using an input with type="tel" in WKWebView, VoiceOver always reads the numbers entered in English, regardless of what the device's language is set to. This does not happen with other types of inputs.

Steps to reproduce:

1. Change a device running iOS 14 to a non-English language.
2. Enable VoiceOver.
3. Run attached Xcode app on the device.
4. Tap into the "Input (Tel)" input. VoiceOver should read information about the input in the language you chose in step 1.
5. Double tap to activate the input. A numeric keypad should appear.
6. Single tap the "1" key. VoiceOver should read the key in the language you chose in step 1.
7. Double tap the "1" key to enter it into the input. VoiceOver should read the key in English.
8. Tap the "Input (Number)" input and repeat steps 5-7. You should notice that on step 7, VoiceOver reads the key in the language you chose in step 1.

Expected Behavior:

I would expect the value in step 7 to be read in the language that I chose in step 1.

Actual Behavior:

The value in step 7 is always read in English with input type="tel".

Other Information:

- This issue reproduces on iOS 15 beta 6.
- This issue only reproduces in WKWebView and does not reproduce in mobile Safari.
- You can visit https://frosty-bhaskara-04f568.netlify.app/ in mobile Safari to see VoiceOver working as expected. This is the same URL that is loaded in the Xcode app.
Comment 1 Radar WebKit Bug Importer 2021-08-19 13:41:09 PDT
<rdar://problem/82139962>