Bug 254542 - AX: VoiceOver reads button twice when activating with handler
Summary: AX: VoiceOver reads button twice when activating with handler
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-27 12:12 PDT by Liam DeBeasi
Modified: 2023-03-27 12:13 PDT (History)
2 users (show)

See Also:


Attachments
Code reproduction (1.53 KB, text/html)
2023-03-27 12:12 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-27 12:12:23 PDT
Created attachment 465616 [details]
Code reproduction

When activating a button with a handler, VoiceOver re-reads the button content. This can be confusing when users only want to activate the button, not re-read it.

Steps to reproduce:

1. Open reproduction on iOS.
2. Turn VoiceOver on.
3. Tap the button on the page once. VoiceOver will announce the content of the button.
4. Double tap the button to activate it. VoiceOver will announce the content of the button again even while the page is transitioning.

Expected Behavior:

In this case, I would not expect the button to be read again since the button is responsible for doing something that could potentially change the state of the page on click. For example, Messages and Mail on iOS have the expected behavior where the messages/emails are not re-read when their buttons are activated.

Actual Behavior:

The button content is re-read when activating the button.
Comment 1 Radar WebKit Bug Importer 2023-03-27 12:12:36 PDT
<rdar://problem/107278630>
Comment 2 Liam DeBeasi 2023-03-27 12:13:46 PDT
Forgot to mention that I can reproduce this on iOS 16.4