Follow on from bug 146452 and https://github.com/w3c/mathml-aam/issues/4 "AXMathRootRadicand [should] return an array of elements. This would cover the root of any index and possible variants like the root of a complex number or even future tweaks to the spec." This change in WebKit will require a counterpart change in VoiceOver. 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)
<rdar://problem/83688829>
I commented on https://github.com/w3c/mathml-aam/issues/4 ; but do you also plan to do the same for <mroot> (even if there is always one element for the radicand)? That is, would AXMathRootRadicand on <mroot><mrow><mi>x</mi><mi>y</mi></mrow><mn>3</mn></mroot> return an array with a single mrow element (rather than just the mrow element directly currently)?
Created attachment 440564 [details] Patch
(In reply to Frédéric Wang (:fredw) from comment #2) > I commented on https://github.com/w3c/mathml-aam/issues/4 ; but do you also > plan to do the same for <mroot> (even if there is always one element for the > radicand)? That is, would AXMathRootRadicand on > > <mroot><mrow><mi>x</mi><mi>y</mi></mrow><mn>3</mn></mroot> > > return an array with a single mrow element (rather than just the mrow > element directly currently)? That is correct. This patch makes the change to return an array of AX objects. If the radicand consists of just one element, the array will contain a single element.
Created attachment 440605 [details] Patch Fix for build in platforms != mac
Committed r283815 (242707@main): <https://commits.webkit.org/242707@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 440605 [details].