From d43f593859b98dc7b8a6c42a348d7a69835258d7 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Sun, 27 Mar 2022 13:08:14 -0400 Subject: [PATCH 1/7] Update index.html --- index.html | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/index.html b/index.html index 8a82400e..67b8eb8f 100644 --- a/index.html +++ b/index.html @@ -1908,20 +1908,17 @@

role=listitem -

- Roles: - `menuitem`, - `menuitemcheckbox`, - `menuitemradio`, - `option`, - `none`, - `presentation`, - `radio`, - `separator`, - `tab` - or `treeitem` -

-

+

+

+ If the `li` is not a child of a list element (`ul`, `ol`, `menu`), or the + list element's implicit `list` role has been overwritten, then + any `role` that is an allowed child of the parent element. +

+

+ If the `li` is a child of a `ul`, `ol`, or `menu` with no explicit `role`: + No `role`. +

+

Global `aria-*` attributes and any `aria-*` attributes applicable to the allowed roles. From 02fccee36612184708fabb75fbd061712dd2a00a Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Sun, 27 Mar 2022 13:22:34 -0400 Subject: [PATCH 2/7] Update index.html --- index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 67b8eb8f..e388c309 100644 --- a/index.html +++ b/index.html @@ -1910,13 +1910,13 @@

- If the `li` is not a child of a list element (`ul`, `ol`, `menu`), or the - list element's implicit `list` role has been overwritten, then - any `role` that is an allowed child of the parent element. + If the `li` is not a child of a list element + (`ul`, `ol`, + `menu`), or the list element's implicit `list` role + has been overwritten, then any `role`.

- If the `li` is a child of a `ul`, `ol`, or `menu` with no explicit `role`: - No `role`. + Otherwise, no `role`.

From 47346083fa462f1fc16a4b8fd5ec252fb9b06a18 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Sun, 27 Mar 2022 13:35:10 -0400 Subject: [PATCH 3/7] clarify 3rd column header --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index e388c309..f6f85828 100644 --- a/index.html +++ b/index.html @@ -310,7 +310,7 @@

- ARIA roles, states and properties which MAY be used + ARIA role, state and property allowances From 59b1cb51338812e9ff227cf1d59cb265b8137a33 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Sun, 27 Mar 2022 18:06:57 -0400 Subject: [PATCH 4/7] update li element's implicit role mappings to reflect html aam --- index.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index f6f85828..7d0881b6 100644 --- a/index.html +++ b/index.html @@ -1905,14 +1905,20 @@

[^li^] - role=listitem +

+ If the `li` is not a child of a list element + (`ul`, `ol`, + `menu`) + role=listitem. +

+

+ Otherwise, role=generic. +

- If the `li` is not a child of a list element - (`ul`, `ol`, - `menu`), or the list element's implicit `list` role + If the `li` is not a child of a list element, or the list element's implicit `list` role has been overwritten, then any `role`.

From 788fea3e43a75c1562da06385afae25340b6889c Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Wed, 6 Apr 2022 08:10:27 -0400 Subject: [PATCH 5/7] redraft li rule - fix typo - clarify role rules further --- index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 6e25c881..6697f436 100644 --- a/index.html +++ b/index.html @@ -1943,7 +1943,7 @@

- If the `li` is not a child of a list element + If the `li` is a child of a list element (`ul`, `ol`, `menu`) role=listitem. @@ -1955,11 +1955,13 @@

- If the `li` is not a child of a list element, or the list element's implicit `list` role - has been overwritten, then any `role`. + No `role` if the parent list element has an implicit + or explicit `list` role.

- Otherwise, no `role`. + Otherwise, any `role` that is an allowed child of the parent list element's + explicit ARIA role. See `ul`, `ol`, and + `menu` for allowed roles for these list elements.

From 3fed27494fab587af55224a23ee6b16db9118b2d Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Sat, 16 Apr 2022 18:32:13 -0400 Subject: [PATCH 6/7] Update index.html --- index.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index a6a0466d..92830177 100644 --- a/index.html +++ b/index.html @@ -1958,7 +1958,8 @@

role=listitem.

- Otherwise, role=generic. + Otherwise, if the `li` is not a child of a list element it is exposed as + a role=generic.

@@ -1968,9 +1969,11 @@

or explicit `list` role.

- Otherwise, any `role` that is an allowed child of the parent list element's - explicit ARIA role. See `ul`, `ol`, and - `menu` for allowed roles for these list elements. + Otherwise, any `role`. +

+

+ See `ul`, `ol`, or + `menu` for allowed roles for list elements.

From 0b9b50c1716f4029b83f701d741b5c5a1365b4e3 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Wed, 31 May 2023 10:15:53 -0400 Subject: [PATCH 7/7] update changelog --- index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 24d5ae68..701fd721 100644 --- a/index.html +++ b/index.html @@ -63,6 +63,11 @@ the following substantive additions and/or corrections have been proposed: