-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Exclusive accordion (see explainer and HTML PR) is a small new HTML feature that adds a name
attribute to the details
element. Details elements with the same name
form a group of related details elements, at most one of which can be open at the same time.
There has been some discussion (see particularly whatwg/html#9400 (comment) and the 1 comment following, whatwg/html#9400 (comment) and 1 comment following, whatwg/html#9400 (comment), whatwg/html#9400 (comment), and whatwg/html#9400 (comment); cc @aardrian and @GrahamTheDevRel) about an accessible name and grouping context for such groups. My understanding is that some of the suggestions made in those comments are things that should be described in html-aam (and thus I'm filing this issue to prompt the discussion to do so). Depending on what exactly html-aam defines for this case, it's likely that the authoring advice in the HTML specification could be added to or made more specific.
Note: The current authoring advice in the HTML spec that's relevant is the sentence:
Documents that use the name attribute to group multiple related details elements should keep those related elements together in a containing element (such as a section element).