From 78103604e17794189e8e805e728334893a372297 Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Wed, 23 Jul 2025 14:07:52 -0400 Subject: [PATCH 1/2] Addition: update allowances for label element This update keeps the same allowances for when a `label` element is associated with a labelable element. But for instances where an author just uses the `label` element without associating it with a labelable element, then the ARIA allowances should replicate the `span` element. --- index.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 6a29b2e..d172b82 100644 --- a/index.html +++ b/index.html @@ -2236,9 +2236,15 @@

- No `role` + If a `label` element is implicitly or explicitly associated with a + labelable element then + no `role`

-

Naming Prohibited

+

+ Otherwise, if the `label` is not associted with an element then any `role` + though generic SHOULD NOT be used. +

+

Naming Prohibited if exposed as the `generic` role, or if exposed as another role which prohibits naming.

Otherwise, global `aria-*` attributes.

From d70b37fd2102caec3b64a053959c9033957fe5d8 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Wed, 23 Jul 2025 19:54:41 +0100 Subject: [PATCH 2/2] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index d172b82..c793dec 100644 --- a/index.html +++ b/index.html @@ -2241,7 +2241,7 @@

no `role`

- Otherwise, if the `label` is not associted with an element then any `role` + Otherwise, if the `label` is not associted with an element then any `role`, though generic SHOULD NOT be used.

Naming Prohibited if exposed as the `generic` role, or if exposed as another role which prohibits naming.