[Webkit-unassigned] [Bug 194347] New: AX: VoiceOver treats all focusable elements within a button as the button itself

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 6 09:46:49 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=194347

            Bug ID: 194347
           Summary: AX: VoiceOver treats all focusable elements within a
                    button as the button itself
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: trevorburnham at gmail.com
                CC: webkit-bug-importer at group.apple.com

Created attachment 361303

  --> https://bugs.webkit.org/attachment.cgi?id=361303&action=review

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190206/fe05d13f/attachment.html>


More information about the webkit-unassigned mailing list