From 94f6dd48b9da09ae70f65f3ab5d1c6186066d085 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Wed, 2 Nov 2022 12:51:47 -0400
Subject: [PATCH 1/7] revise allowed attributes on summary element
Normative follow-on from #434
The spec was updated to note that the summary element doesnt' always map to the button element. The allowed attributes indicated that all attributes that were applicable to the button role were allowed. However, in practice this doesn't make sense and could break or be in contradiction to the implicit semantics.
The allowed aria-* attributes for the button role include
* aria-disabled
* aria-haspopup
* aria-expanded
* aria-pressed
Of those four, aria-expanded and pressed are the ones that would pose problems by conflicting or not making any sense with the implicit expanded/collapsed states provided by the element (who gets the state per the parent details having an open attribute or not).
---
index.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index 4a32836..c1062d4 100644
--- a/index.html
+++ b/index.html
@@ -2788,8 +2788,8 @@
- Global `aria-*` attributes
- and any `aria-*` attributes applicable to the `button` role.
+ Global `aria-*` attributes,
+ `aria-disabled`, and `aria-haspopup` attributes.
From 366423087af9a648b2de1267f98769db41d9e397 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Tue, 7 Feb 2023 10:09:23 -0500
Subject: [PATCH 2/7] revise placement of proposed/addition classes
move to the parent paragraph element, rather than being on a child span.
---
index.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index 1943533..c1944ff 100644
--- a/index.html
+++ b/index.html
@@ -2887,9 +2887,9 @@
No `role`
-
+
Global `aria-*` attributes,
- `aria-disabled`, and `aria-haspopup` attributes.
+ `aria-disabled`, and `aria-haspopup` attributes.
From 253a5b262e4e007c2f0442696af2ea6d48fdc935 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Tue, 7 Feb 2023 10:29:29 -0500
Subject: [PATCH 3/7] further clarifications for summary element allowances
this addition to the PR takes into account that only a summary element that serves as the 'summary for its parent details' needs to adhere to these rules.
otherwise, a summary element that doesn't meet the criteria of the HTML spec is essentially just a generic element, so any roles/attributes can be used on that.
---
index.html | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/index.html b/index.html
index c1944ff..6608193 100644
--- a/index.html
+++ b/index.html
@@ -2884,13 +2884,21 @@