| Summary: | AX: reconcile aria-describedby and aria-description in WebKit | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | James Craig <jcraig> | ||||||||||||||||||||
| Component: | Accessibility | Assignee: | chris fleizach <cfleizach> | ||||||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||||||
| Severity: | Normal | CC: | aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jdiggs, samuel_white, webkit-bug-importer | ||||||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||||||||
| Hardware: | All | ||||||||||||||||||||||
| OS: | All | ||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||
|
Description
James Craig
2023-04-21 14:55:19 PDT
In case I missed something, review the ARIA specs for those, including aria-details since it also uses AXCustomContent. https://w3c.github.io/aria/#aria-describedby https://w3c.github.io/aria/#aria-description https://w3c.github.io/aria/#aria-details Created attachment 466038 [details]
Patch
Comment on attachment 466038 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=466038&action=review > LayoutTests/accessibility/aria-description.html:15 > +<div id="button1" role="button" aria-describedby="label1">button</div> > +<div id="label1">text</div> > + > +<div id="button2" role="button" aria-describedby="label2" aria-description="Longer description ignored">button</div> > +<div id="label2">text</div> > + Unless this is already tested in another file, how about a multi-IDREF test, too? <div id="button3" role="button" aria-describedby="label3 label4" aria-description="this description ignored">button</div> <div id="label4">concatenated</div> <div id="label4">description</div> Created attachment 466242 [details]
Patch
Created attachment 466245 [details]
Patch
Created attachment 466251 [details]
Patch
Created attachment 466255 [details]
Patch
Created attachment 466257 [details]
Patch
Created attachment 466260 [details]
Patch
Created attachment 466264 [details]
Patch
Created attachment 466265 [details]
Patch
Committed 263813@main (352b951ab4a8): <https://commits.webkit.org/263813@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 466265 [details]. *** Bug 245985 has been marked as a duplicate of this bug. *** |