Bug 273357

Summary: AX: dfn element should map to AccessibilityRole::Term, as it indicates a term being defined, not a definition
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Tyler Wilcock <tyler_w>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Tyler Wilcock
Reported 2024-04-27 07:17:36 PDT
Confusingly, the `dfn` tag represents a term being defined, making it equivalent to the "term" ARIA role rather than the "definition" ARIA role. The "definition" ARIA role has no HTML equivalent. https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-dfn-element https://w3c.github.io/aria/#term and https://w3c.github.io/aria/#definition
Attachments
Patch (6.93 KB, patch)
2024-04-27 07:21 PDT, Tyler Wilcock
no flags
Patch (8.57 KB, patch)
2024-04-27 08:09 PDT, Tyler Wilcock
no flags
Patch (10.96 KB, patch)
2024-04-27 11:18 PDT, Tyler Wilcock
no flags
Radar WebKit Bug Importer
Comment 1 2024-04-27 07:17:47 PDT
Tyler Wilcock
Comment 2 2024-04-27 07:21:20 PDT
chris fleizach
Comment 3 2024-04-27 07:34:37 PDT
Classic fix!
Tyler Wilcock
Comment 4 2024-04-27 08:09:56 PDT
Tyler Wilcock
Comment 5 2024-04-27 11:18:04 PDT
EWS
Comment 6 2024-04-27 20:50:56 PDT
Committed 278085@main (e808f25e438f): <https://commits.webkit.org/278085@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 471183 [details].
Note You need to log in before you can comment on or make changes to this bug.