Skip to content

Commit 0f29858

Browse files
authored
Addition: update figure role allowances (#415)
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.
1 parent 8a7d4cb commit 0f29858

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@
6363
the following substantive additions and/or corrections have been proposed:
6464
</p>
6565
<ul>
66+
<li>
67+
<a href="https://github.com/w3c/html-aria/pull/415">13 February 2023 - Addition:</a>
68+
update figure role allowances to include `doc-example`.
69+
</li>
6670
<li>
6771
<a href="https://github.com/w3c/html-aria/pull/437">07 November 2022 - Correction:</a>
6872
Revisions to 'any role' term description.
@@ -1221,10 +1225,14 @@ <h2 id="docconformance">
12211225
<br>
12221226
<a><strong>Any `role`</strong></a>, though <code><a href="#index-aria-figure">figure</a></code> is NOT RECOMMENDED.
12231227
</p>
1224-
<p>
1228+
<p class="addition proposed">
12251229
If the `figure` has a `figcaption` descendant:
12261230
<br>
1227-
<a><strong class="nosupport">No `role`</strong></a> other than <code><a href="#index-aria-figure">figure</a></code>, which is NOT RECOMMENDED.
1231+
1232+
DPub Role:
1233+
<a data-cite="dpub-aria-1.0#doc-example">`doc-example`</a>.</p>
1234+
1235+
<p>Otherwise, <code><a href="#index-aria-figure">figure</a></code> is allowed, but NOT RECOMMENDED.
12281236
</p>
12291237
<p>
12301238
<a data-cite="wai-aria-1.2#global_states">Global `aria-*` attributes</a>

0 commit comments

Comments
 (0)