Skip to content

Commit 82ae589

Browse files
committed
Add ATK and AX API mapping for <mphantom>
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
1 parent 78af6dd commit 82ae589

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

mathml-aam/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,20 @@ <h3>MathML Element Mappings</h3>
382382
<span class="subrole">AXSubrole: <code>TBD</code></span>
383383
</td>
384384
</tr>
385+
<tr id="el-phantom">
386+
<th><a data-cite="MathML3/chapter3.html#presm.mphantom">`mphantom`</a></th>
387+
<td class="aria">No corresponding role</td>
388+
<td class="ia2">TBD</td>
389+
<td class="uia">TBD</td>
390+
<td class="atk">
391+
<span class="role">Role: <code>ATK_ROLE_SECTION</code></span><br />
392+
<span class="objattr">Object Attribute: <code>tag:mphantom</code></span>
393+
</td>
394+
<td class="axapi">
395+
<span class="role">AXRole: <code>NSAccessibilityGroupRole</code></span><br />
396+
<span class="subrole">AXSubrole: <code>AXMathRow</code></span>
397+
</td>
398+
</tr>
385399
<tr id="el-mprescripts">
386400
<th><a data-cite="MathML3/chapter3.html#presm.mmultiscripts">`mprescripts`</a></th>
387401
<td class="aria">No corresponding role</td>

0 commit comments

Comments
 (0)