Bug 146453

Summary: AX: VoiceOver does not read correctly x^2 in French
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: 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 03:41:31 PDT
Set the language of the system to French and reboot your machine. Open the following testcase: data:text/html,<math><msup><mi>x</mi><mn>2</mn></msup></math>

Accessible tree exposed by Safari / Firefox Nightly:
Role: AXGroup
Subrole: AXMathSubscriptSuperscript
accessibilityChildren: 2 items
  1 AXMathIdentifier (x)
  2 AXMathNumber (2)

Actual Result:
VoiceOver reads "x"

Expected Result:
VoiceOver should read "x carré"

Note that in English, VoiceOver correctly reads the text "x squared".
Comment 1 Radar WebKit Bug Importer 2015-06-30 03:41:53 PDT
<rdar://problem/21608812>