Bug 146454 - AX: VoiceOver does not distinguish <mfrac> with / without bar
Summary: AX: VoiceOver does not distinguish <mfrac> with / without bar
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-30 04:22 PDT by Frédéric Wang (:fredw)
Modified: 2015-07-03 00:01 PDT (History)
1 user (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-30 04:22:00 PDT
In bug 113720, an attribute NSAccessibilityMathLineThicknessAttribute was added to AXMathFraction to help distinguishing fractions that have a bar or not.

Compare data:text/html,<math><mrow><mo>(</mo><mfrac><mi>a</mi><mi>p</mi></mfrac><mo>)</mo></mrow></math>
(https://en.wikipedia.org/wiki/Legendre_symbol)

with data:text/html,<math><mrow><mo>(</mo><mfrac linethickness="0px"><mi>n</mi><mi>k</mi></mfrac><mo>)</mo></mrow></math>
(https://en.wikipedia.org/wiki/Combination)

However, VoiceOver does not distinguish the two cases, it always read "fraction start ...  over ... end of fraction".

I think it should instead read the one with linethickness="0px" as "fraction without bar start ...  over ... end of fraction", "stack start ... over .. end of stack" or something similar.
Comment 1 Radar WebKit Bug Importer 2015-06-30 04:22:26 PDT
<rdar://problem/21609197>
Comment 2 Frédéric Wang (:fredw) 2015-07-01 00:48:15 PDT
This problem appears in tests 8 and 9 of the MathML torture test: https://mdn.mozillademos.org/en-US/docs/Mozilla/Math-ML_Project/MathML_Torture_Test$samples/MathML_Torture_Test