#866: Exclusive accordion (<details name="">)
Discussions
2023-07-mos-eisley
Tess: @plinss, @atanassov, and I took a look at this during the TAG's vF2F this week. See their comments above for specific bits of feedback. Overall, we're really happy with the simple, incremental approach you've taken here to add this feature to HTML. It fits right in with the existing use of
name="" for radio buttons and checkboxes, and it doesn't require authors to change the existing structure of their documents. Thanks for bringing this to us for review!
OpenedJun 22, 2023
こんにちは TAG-さん!
I'm requesting a TAG review of exclusive accordions (
<details name="">
).This feature adds a
name
attribute to the HTMLdetails
element so that multipledetails
elements (disclosure widgets) can be linked into an exclusive accordion, i.e., a widget where opening one of thedetails
elements closes the others.Further details:
<details>
element that I hope to work on in parallel, falling into two categories:<details>
and<summary>
elements (really mostly relating to<summary>
). While there are a bunch of links in different issues trackers, I'm currently working on a document trying to describe and categorize these problems that I hope to be able to share within a few weeks. I do hope to make some progress on these issues in parallel with this work, although I also don't think it's realistic to promise to "fix everything", but I do think it feels like there's a realistic path towards making significant improvements. These do represent real risk since it's possible this feature could increase usage of<details>
and<summary>
and thus expose these problems to more users.<details>
and<summary>
aren't used as widely as they could be is insufficient styleability. I've started a document on what needs to be improved and how. I also hope to work on this in parallel, though I think it's worth trying to avoid getting these fixes landed too far in advance of the accessibility fixes.You should also know that the current state of the prototype can be tested in current Chrome Canary or Dev, or in the future in Beta (within a week) or Stable (in a month or so) once they reach version 116, but only if you enable "Experimental Web Platform Features" in chrome://flags .
We'd prefer the TAG provide feedback as (please delete all but the desired option): 💬 leave review feedback as a comment in this issue and @-notify @dbaron