Skip to content

Commit

Permalink
Addition: update figure role allowances (#415)
Browse files Browse the repository at this point in the history
Addition: update figure role allowances

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 committed Feb 13, 2023
1 parent 8a7d4cb commit 0f29858
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
the following substantive additions and/or corrections have been proposed:
</p>
<ul>
<li>
<a href="https://github.com/w3c/html-aria/pull/415">13 February 2023 - Addition:</a>
update figure role allowances to include `doc-example`.
</li>
<li>
<a href="https://github.com/w3c/html-aria/pull/437">07 November 2022 - Correction:</a>
Revisions to 'any role' term description.
Expand Down Expand Up @@ -1221,10 +1225,14 @@ <h2 id="docconformance">
<br>
<a><strong>Any `role`</strong></a>, though <code><a href="#index-aria-figure">figure</a></code> is NOT RECOMMENDED.
</p>
<p>
<p class="addition proposed">
If the `figure` has a `figcaption` descendant:
<br>
<a><strong class="nosupport">No `role`</strong></a> other than <code><a href="#index-aria-figure">figure</a></code>, which is NOT RECOMMENDED.

DPub Role:
<a data-cite="dpub-aria-1.0#doc-example">`doc-example`</a>.</p>

<p>Otherwise, <code><a href="#index-aria-figure">figure</a></code> is allowed, but NOT RECOMMENDED.
</p>
<p>
<a data-cite="wai-aria-1.2#global_states">Global `aria-*` attributes</a>
Expand Down

0 comments on commit 0f29858

Please sign in to comment.