From 5686fff26e141ab22ba6a8e1ddde42b6c8c25c6a Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Mon, 22 Sep 2025 09:57:02 -0400 Subject: [PATCH] Clarify role and attributes for summary element closes #553 updates the note in the implicit role column for the summary element to be more accurate to the current reality of how a summary is exposed by UAs and AT. additionally, this PR updates the wording to clarify the condition for when a summary can have any role (e.g., when used incorrectly). --- index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 51d77a8..9a872da 100644 --- a/index.html +++ b/index.html @@ -3117,22 +3117,23 @@

No corresponding role

- Many, but not all, user agents expose the `summary` element with an implicit ARIA - role=button. + The exposed role of a `summary` element can vary depending on the user agent and assistive technology.

No `role` if the `summary` element is a - summary for its parent details. + summary for its parent details element.

Global `aria-*` attributes, `aria-disabled`, and `aria-haspopup` attributes.

- Otherwise, authors MAY specifiy Any `role`, and any + Otherwise, if the `summary` element is not a + summary for its parent details + element, authors MAY specifiy any `role`, and any global `aria-*` attributes and any `aria-*` attributes applicable to the allowed roles.