Skip to content

Commit

Permalink
Addition: update figure role allowances
Browse files Browse the repository at this point in the history
closes #412

As discussed in w3c/dpub-aria#42 (comment), `doc-example` is a dpub variant of the `figure` role.  This role being the same as `figure` but with the opportunity of being exposed as an "example" for its role description, needs to be an allowed role for the `figure` element.
  • Loading branch information
scottaohara authored Apr 16, 2022
1 parent 5e5cff3 commit 59df2d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1087,10 +1087,11 @@ <h2 id="docconformance">
<br>
<a><strong>Any `role`</strong></a>
</p>
<p>
<p class="addition proposal">
If the `figure` has a `figcaption` descendant:
<br>
<a><strong class="nosupport">No `role`</strong></a>
DPub Role:
<a data-cite="dpub-aria-1.0#doc-example">`doc-example`</a>
</p>
<p>
<a data-cite="wai-aria-1.2#global_states">Global `aria-*` attributes</a>
Expand Down Expand Up @@ -1121,7 +1122,7 @@ <h2 id="docconformance">
or <a href="#index-aria-none">`none`</a>
</p>
<p>
DPub Role:
DPub Role:doc-example
<a data-cite="dpub-aria-1.0#doc-footnote">`doc-footnote`</a>
</p>
<p class="proposed addition"><a>Naming Prohibited</a> if exposed as `generic`.</p>
Expand Down

0 comments on commit 59df2d8

Please sign in to comment.