Bug 146454

Summary: AX: VoiceOver does not distinguish <mfrac> with / without bar
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal CC: bfulgham, 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-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
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.