Bug 146454 - AX: VoiceOver does not distinguish <mfrac> with / without bar
Summary: AX: VoiceOver does not distinguish <mfrac> with / without bar
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Blocks: 146578
  Show dependency treegraph
Reported: 2015-06-30 04:22 PDT by Frédéric Wang (:fredw)
Modified: 2022-02-10 19:29 PST (History)
2 users (show)

See Also:


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>

with data:text/html,<math><mrow><mo>(</mo><mfrac linethickness="0px"><mi>n</mi><mi>k</mi></mfrac><mo>)</mo></mrow></math>

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
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
Comment 3 Brent Fulgham 2022-02-10 19:29:05 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.

This should now be fixed in shipping software.