Skip to content

Commit

Permalink
include mention of figure/caption
Browse files Browse the repository at this point in the history
this pr updates `aria-details` to mention `figure` and `figcaption`.

This update is related to HTML AAM's update to the `figure` and `figcaption` elements - w3c/html-aam#359.
It is a follow on to my other PR, #1703 which updates the `caption` role and includes information about `aria-details`.
  • Loading branch information
scottaohara committed Mar 12, 2022
1 parent af94c5f commit 0d4ec1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11297,6 +11297,7 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
<ul>
<li>Comment: <code>aria-details</code> refers to an element with role <rref>comment</rref>.</li>
<li>Definition: <code>aria-details</code> is applied to an element with role <rref>term</rref> and refers to an element with role <rref>definition</rref>.</li>
<li>Figure: <code>aria-details</code> is applied to an element with role <rref>figure</rref> and refers to an element with role <rref>caption</rref>, or an element witin a <code>caption</code>.</li>
<li>Footnote: <code>aria-details</code> refers to an element with role <code>doc-footnote</code>. This role is defined in [[DPUB-ARIA-1.0]].</li>
<li>Endnote: <code>aria-details</code> refers to an element with role <code>doc-endnote</code>. This role is defined in [[DPUB-ARIA-1.0]].</li>
<li>Description or general annotation: <code>aria-details</code> refers to an element with any other role.</li>
Expand Down

0 comments on commit 0d4ec1e

Please sign in to comment.