Skip to content

Commit

Permalink
remove details relations for figure/figcaption
Browse files Browse the repository at this point in the history
  • Loading branch information
scottaohara authored Sep 27, 2024
1 parent 643fdec commit f7af218
Showing 1 changed file with 2 additions and 42 deletions.
44 changes: 2 additions & 42 deletions html-aam/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2252,10 +2252,6 @@ <h4 id="el-figcaption">`figcaption`</h4>
</th>
<td>
<div class="role"><span class="type">Role:</span> Use WAI-ARIA mapping</div>
<div class="relations">
<span class="type">Relations:</span>
If the first instance of a child `figcaption` to its parent <a href="#el-figure">`figure`</a>, then `IA2_RELATION_DETAILS_FOR` with parent `figure`.
</div>
</td>
</tr>
<tr>
Expand All @@ -2268,11 +2264,6 @@ <h4 id="el-figcaption">`figcaption`</h4>
<th><a href="https://gnome.pages.gitlab.gnome.org/atk/">ATK</a></th>
<td>
<div class="role"><span class="type">Role:</span> Use WAI-ARIA mapping</div>
<div class="relations">
<span class="type">Relations:</span>
If this is the first instance of a child `figcaption` to its parent <a href="#el-figure">`figure`</a> element, then expose `RELATION_DETAILS_FOR` referencing the parent `figure`
element.
</div>
</td>
</tr>
<tr>
Expand All @@ -2284,12 +2275,7 @@ <h4 id="el-figcaption">`figcaption`</h4>
<!-- <th><a href="#accessible-name-and-description-computation">Naming Algorithm</a></th> -->
<tr>
<th>Comments</th>
<td>
<p>
Only the first child instance of a <a href="#el-figcaption">`figcaption`</a> element that is present in the accessibility tree (e.g., not 'hidden') provides details for its parent
`figure` element.
</p>
</td>
<td> </td>
</tr>
</tbody>
</table>
Expand All @@ -2316,56 +2302,30 @@ <h4 id="el-figure">`figure`</h4>
</th>
<td>
<div class="role"><span class="type">Role:</span> Use WAI-ARIA mapping</div>
<div class="relations">
<span class="type">Relations:</span>
`IA2_RELATION_DETAILS` points to the first instance of a child `figcaption` if the element is present in the accessibility tree of the parent `figure` element.
</div>
</td>
</tr>
<tr>
<th><a href="https://msdn.microsoft.com/en-us/library/ms726297%28v=VS.85%29.aspx">UIA</a></th>
<td>
<div class="role"><span class="type">Role:</span> Use WAI-ARIA mapping</div>
<div class="property">
<span class="type">Property:</span>
`DescribedBy` references the first instance of a child `figcaption` element if the element is present in the accessibility tree of the parent `figure` element.
</div>
</td>
</tr>
<tr>
<th><a href="https://gnome.pages.gitlab.gnome.org/atk/">ATK</a></th>
<td>
<div class="role"><span class="type">Role:</span> Use WAI-ARIA mapping</div>
<div class="name"><span class="type">Name:</span> related <a href="#el-figcaption">`figcaption`</a> content</div>
<div class="relations">
<span class="type">Relations:</span>
`RELATION_DETAILS` references the first instance of a child `figcaption` element if the element is present in the accessibility tree of the parent `figure` element.
</div>
</td>
</tr>
<tr>
<th><a href="https://developer.apple.com/reference/appkit/nsaccessibility">AX</a></th>
<td>
<div class="role"><span class="type">AXRole:</span> Use WAI-ARIA mapping</div>
<div class="relations">
<span class="type">Property:</span>
`AXDetailsElements` references the first instance of a child `figcaption` element if the element is present in the accessibility tree of the parent `figure` element.
</div>
</td>
</tr>
<!-- <th><a href="#accessible-name-and-description-computation">Naming Algorithm</a></th> -->
<tr>
<th>Comments</th>
<td>
<p>
If an author specifies a `figure` element to acquire its accessible name or description from the first instance of a child `figcaption` element via an `aria-labelledby` or
`aria-describedby` association, then user agents SHOULD NOT expose a details relationship between the parent `figure` and child `figcaption` elements.
</p>
<p>
An explicit declaration of the `aria-details` attribute on the `figure` element will override the implicit `aria-details` association with the element's child `figcaption` element,
if one exists. If the `aria-details` attribute has an empty value, then the `figure` element has no details relation to expose.
</p>
</td>
<td> </td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit f7af218

Please sign in to comment.