From c4be993a449401bfa5a03eb76012a438c489c13a Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Mon, 3 Feb 2020 08:44:25 -0500 Subject: [PATCH] update allowances for figure if a figure has a figcaption descendant, the expected parent/child relationship needs to be maintained, so the figure cannot have a role. if there is no figcaption descendant, then the figure could receive any role. this commit also alphabetizes fieldset and figcaption correctly in the table. --- index.html | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index e329220f..116d2c14 100644 --- a/index.html +++ b/index.html @@ -804,19 +804,19 @@

- + - [^figcaption^] + [^fieldset^] - No corresponding role + role=group

Roles: - `group`, + `none`, `presentation` - or `none`. + or `radiogroup`.

Global `aria-*` attributes and @@ -825,19 +825,19 @@

- + - [^fieldset^] + [^figcaption^] - role=group + No corresponding role

Roles: - `none`, + `group`, `presentation` - or `radiogroup`. + or `none`.

Global `aria-*` attributes and @@ -855,10 +855,14 @@

- Roles: - `group`, - `none` - or `presentation`. + If the `figure` has no `figcaption` descendant: +
+ Roles: Any `role` +

+

+ If the `figure` has a `figcaption` descendant: +
+ No `role`.

Global `aria-*` attributes and @@ -887,7 +891,7 @@

DPub Roles: - `doc-footnote` + `doc-footnote`.

Global `aria-*` attributes and