WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
194347
AX: VoiceOver treats all focusable elements within a button as the button itself
https://bugs.webkit.org/show_bug.cgi?id=194347
Summary
AX: VoiceOver treats all focusable elements within a button as the button itself
Trevor Burnham
Reported
2019-02-06 09:46:49 PST
Created
attachment 361303
[details]
VoiceOver description when "First name" input has focus If the focus is on any tabbable element within an element with role="button", VoiceOver reads the full content of the button element rather than describing the specific element with the focus. This occurs even if the element with the focus is a form element. I've created a demo where you can replicate this:
https://codepen.io/TrevorBurnham/pen/ZwaQBz
Chrome's behavior here makes more sense to me. In Chrome, VoiceOver correctly described the specific element that has the focus while noting that it's "within a button." The real-world case that prompted this was a modal where the background (a DOM ancestor of the modal) could be clicked to close the modal, a fairly common interaction pattern on the web.
Attachments
VoiceOver description when "First name" input has focus
(168.95 KB, image/png)
2019-02-06 09:46 PST
,
Trevor Burnham
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-02-06 09:47:07 PST
<
rdar://problem/47852844
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug