Summary: | Web Inspector: Audit: testForLinkLabels Accessibility audit should ignore anchors if aria-hidden | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | bugmenot | ||||
Component: | Web Inspector | Assignee: | Razvan Caliman <rcaliman> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bburg, cfleizach, ews-watchlist, hi, inspector-bugzilla-changes, kevin_neal, pangle, rcaliman, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari 15 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
bugmenot
2021-09-30 14:14:05 PDT
Thank you for filing. The appropriate engineers have been notified. Created attachment 442483 [details]
Patch v1.0
If the link has text content, it will be used as the label. A better test case is to skip the text completely: ``` <a aria-hidden="true" tabindex="-1" href="#"></a> ``` Comment on attachment 442483 [details]
Patch v1.0
Can we add a test case to `LayoutTests/inspector/audit/run-accessibility.html`?
(In reply to Patrick Angle from comment #5) > Comment on attachment 442483 [details] > Patch v1.0 > > Can we add a test case to > `LayoutTests/inspector/audit/run-accessibility.html`? Discussed with Razvan offline; I was incorrect - these tests test the special WebInspectorAudit.Accessibility functions, not the audits themselves. Comment on attachment 442483 [details]
Patch v1.0
rs=me
Committed r284986 (243633@main): <https://commits.webkit.org/243633@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442483 [details]. |