Bug 254422 - AX: VoiceOver reads button twice when opening dialog
Summary: AX: VoiceOver reads button twice when opening dialog
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 16
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-24 08:00 PDT by Liam DeBeasi
Modified: 2023-03-24 08:00 PDT (History)
2 users (show)

See Also:


Attachments
Code reproduction (613 bytes, text/html)
2023-03-24 08:00 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 2023-03-24 08:00:20 PDT
Created attachment 465572 [details]
Code reproduction

Opening a dialog with VoiceOver enabled causes VoiceOver to re-read the button that presented the dialog before moving focus to the dialog.

Steps to reproduce:

1. Open attached code reproduction on iOS 16+.
2. Turn VoiceOver on.
3. Tap the "Show the dialog" button. VoiceOver should announce "Show the dialog".
4. Double tap the button to activate. VoiceOver should begin to announce "Show the dialog" again before announcing the dialog.

Expected Behavior:

I expect VoiceOver to not announce "Show the dialog" when activating the button.

Actual Behavior:

VoiceOver announces "Show the dialog" when activating the button.

Other Info:

- I cannot reproduce this in iOS 15.6
- I can reproduce this in iOS 16.4
Comment 1 Radar WebKit Bug Importer 2023-03-24 08:00:30 PDT
<rdar://problem/107186693>