Bug 146407 - AX: VoiceOver does not read munder/mover/munderover elements correctly
Summary: AX: VoiceOver does not read munder/mover/munderover elements correctly
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 146578
  Show dependency treegraph
 
Reported: 2015-06-29 05:14 PDT by Frédéric Wang (:fredw)
Modified: 2015-07-03 00:01 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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