Bug 146407

Summary: AX: VoiceOver does not read munder/mover/munderover elements correctly
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cfleizach, jcraig, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 146578    

Description Frédéric Wang (:fredw) 2015-06-29 05:14:29 PDT
Testcases:

1) <math xmlns="http://www.w3.org/1998/Math/MathML"><munder><mi>a</mi><mi>b</mi></munder></math>
2) <math xmlns="http://www.w3.org/1998/Math/MathML"><mover><mi>a</mi><mi>b</mi></mover></math>
3) <math xmlns="http://www.w3.org/1998/Math/MathML"><munderover><mi>a</mi><mi>b</mi><mi>c</mi></munderover></math>

(or see http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/accessibility/mathml-elements.html)

WebKit exposes the accessible trees for munder/mover/munderover as

Role: AXMathRoleGroup
Subrole: AXMathUnderOver

and attributes AXMathBase, AXMathUnder and AXMathOver pointing to appropriate child accessible objects (base or under/over scripts).

Actual results:

1) a
2) a, with b underneath
3) a, with c underneath

Expected results:

1) a, with b underneath
2) a, with b above
3) a, with b underneath and c above.
Comment 1 Radar WebKit Bug Importer 2015-06-29 05:15:18 PDT
<rdar://problem/21589876>
Comment 2 Frédéric Wang (:fredw) 2015-07-01 00:52:44 PDT
This problem appears in tests 10, 12, 19, 21, 22 of the MathML torture tests

https://mdn.mozillademos.org/en-US/docs/Mozilla/MathML_Project/MathML_Torture_Test$samples/MathML_Torture_Test