Skip to content

Commit

Permalink
Add ATK and AX API mapping for <mphantom>
Browse files Browse the repository at this point in the history
See discussion in [1]. Per MathML Core [2], `<mphantom>` has style
`visibility: hidden` by default and so is not exposed to ATs [3].
This commit specifies how to map `<mphantom>` when the element is
exposed (e.g. by reverting `visibility: hidden`), essentially
following what exists for the `<mrow>` element.

[1] w3c/mathml-aam#9
[2] https://w3c.github.io/mathml-core/#making-sub-expressions-invisible-mphantom
[3] https://www.w3.org/TR/wai-aria-1.2/#tree_exclusion
  • Loading branch information
fred-wang committed Aug 29, 2023
1 parent 78af6dd commit 82ae589
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mathml-aam/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,20 @@ <h3>MathML Element Mappings</h3>
<span class="subrole">AXSubrole: <code>TBD</code></span>
</td>
</tr>
<tr id="el-phantom">
<th><a data-cite="MathML3/chapter3.html#presm.mphantom">`mphantom`</a></th>
<td class="aria">No corresponding role</td>
<td class="ia2">TBD</td>
<td class="uia">TBD</td>
<td class="atk">
<span class="role">Role: <code>ATK_ROLE_SECTION</code></span><br />
<span class="objattr">Object Attribute: <code>tag:mphantom</code></span>
</td>
<td class="axapi">
<span class="role">AXRole: <code>NSAccessibilityGroupRole</code></span><br />
<span class="subrole">AXSubrole: <code>AXMathRow</code></span>
</td>
</tr>
<tr id="el-mprescripts">
<th><a data-cite="MathML3/chapter3.html#presm.mmultiscripts">`mprescripts`</a></th>
<td class="aria">No corresponding role</td>
Expand Down

0 comments on commit 82ae589

Please sign in to comment.