Summary: | AX: role="math" elements are no longer considered to have presentational children | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tyler Wilcock <tyler_w> | ||||||||
Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | aboxhall, andresg_22, apinheiro, cfleizach, darin, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Tyler Wilcock
2021-10-14 12:12:00 PDT
Created attachment 441252 [details]
Patch
Comment on attachment 441252 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=441252&action=review > Source/WebCore/accessibility/AccessibilityNodeObject.cpp:401 > #if ENABLE(MATHML) > - return node()->isMathMLElement(); > + return true; > #endif > return false; Seems like this should use #else. But also, is it really important to return false for this when building without MathML support? Created attachment 441261 [details]
Patch
Created attachment 441263 [details]
Patch
(In reply to Darin Adler from comment #3) > Comment on attachment 441252 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=441252&action=review > > > Source/WebCore/accessibility/AccessibilityNodeObject.cpp:401 > > #if ENABLE(MATHML) > > - return node()->isMathMLElement(); > > + return true; > > #endif > > return false; > > Seems like this should use #else. > > But also, is it really important to return false for this when building > without MathML support? No, it isn't. Submitted a patch with this changed. Committed r284246 (243055@main): <https://commits.webkit.org/243055@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 441263 [details]. |