[Webkit-unassigned] [Bug 146452] New: AX: VoiceOver does not correctly read square root with 2 children or more

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 30 03:39:55 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146452

            Bug ID: 146452
           Summary: AX: VoiceOver does not correctly read square root with
                    2 children or more
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr
                CC: webkit-bug-importer at group.apple.com

Testcase:
data:text/html,<math><msqrt><mi>x</mi><mi>y</mi></msqrt></math>

Accessible tree exposed by Safari:
Role: AXGroup
Subrole: AXMathSquareRoot
MathRootRadicand: pointer to child "x"
accessibilityChildren: 3 items
  0 AXStaticText (radical symbol)
  1 AXMathIdentifier (x)
  2 AXMathIdentifier (y)

Accessible tree exposed by Firefox Nightly:
Role: AXGroup
Subrole: AXMathSquareRoot
MathRootRadicand: pointer to child "x"
accessibilityChildren: 2 items
  0 AXMathIdentifier (x)
  1 AXMathIdentifier (y)

Actual Result:
In both cases, VoiceOver reads "square root of x".

Expect Result:
VoiceOver should read "square root of xy".

It seems that VoiceOver uses the MathRootRadicand attribute in order to get the accessible child of AXMathSquareRoot to read but ignores the other siblings. Instead, it should use this attribute to determine the first child to read and then read the next siblings. Alternatively, WebKit could do as Firefox and only expose the relevant children (i.e. not the AXStaticText with the radical symbol). Then the MathRootRadicand attribute will no longer be necessary for AXMathSquareRoot and VoiceOver could just read the children of AXMathSquareRoot.

Note 1: <msqrt> can have any number of children while <mroot> always has two children (base, index). So while using MathRootRadicand / MathRootIndex attributes works well for AXMathRoot, this does not for AXMathSquareRoot.

Note 2: The equivalent markup with an explicit <mrow> is correclty read: <math><msqrt><mrow><mi>x</mi><mi>y</mi></mrow></msqrt></math>.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150630/0d30d0e5/attachment.html>


More information about the webkit-unassigned mailing list