8000 Addition: update figure role allowances by scottaohara · Pull Request #415 · w3c/html-aria · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
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 authored Apr 16, 2022
commit 59df2d8f9b34f7dd083d85b3f7bd4bb8b1462f16
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