[Webkit-unassigned] [Bug 231038] New: Web Inspector: Audit: testForLinkLabels Accessibility audit should ignore anchors if aria-hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 30 14:14:05 PDT 2021


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

            Bug ID: 231038
           Summary: Web Inspector: Audit: testForLinkLabels Accessibility
                    audit should ignore anchors if aria-hidden
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bugmenot at mailinator.com
                CC: inspector-bugzilla-changes at group.apple.com

Currently, the Accessibility audit "testForLinkLabels" applies to anchors even if aria-hidden="true". This makes little sense, since a aria-label has no effect if the element is aria-hidden.


Steps to Reproduce

1. Create an HTML file with an anchor that has the aria-hidden attribute set to "true", e.g.

<a aria-hidden="true" tabindex="-1" href="#">foobar</a>

2. Run the Audit


Expected Result

testForLinkLabels passes.


Actual Result

testForLinkLabels fails.

-- 
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/20210930/fd9082b4/attachment.htm>


More information about the webkit-unassigned mailing list