[Webkit-unassigned] [Bug 232388] New: No tab stop by default on role="button" on <a> tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 27 10:38:00 PDT 2021


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

            Bug ID: 232388
           Summary: No tab stop by default on role="button" on <a> tags
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kayleeknowles42 at gmail.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

In Safari, if you have the default tab stop settings (ie, you have not checked "Press tab to highlight each item on a webpage", you will not get a tab stop on an <a> tag that has a role="button". However, Voiceover correctly announces this as a button element. If you have a div with a role="button" you do get a tab stop, so it seems that whatever heuristic is being used preferences the tag over the role, even though the role override is what's used in the accessibility tree. 

I made a small codepen to demonstrate and test this behavior: https://codepen.io/kaylee42/pen/ZEJyQpq

-- 
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/20211027/b1ba6ee5/attachment.htm>


More information about the webkit-unassigned mailing list