Closed dbaron closed 1 year ago
I like the direction here and it aligns with our vision for the web with more declarative solutions that are accessible by default (as opposed to implementing a widget like this with JS + ARIA).
Suggest positive
.
No dashboard entry since it's more of an incremental improvement for details
.
But the current setup requires JS. Before implementing this having reasonable behavior during page load is rather important. In other words, I'm not sold on the proposed solution here https://open-ui.org/components/accordion.explainer/#interaction-with-open-attribute
What is it that requires JS?
Would it help to clarify things if we made it an explicit document conformance requirement not to have more than one <details>
element in a single name
-group that has an open
attribute?
The proposed solution explicitly talks about setAttribute or open attributes, in addition to user interaction. So to set initial state, one needs to use JS.
Setting initial state does not require JS. It can be done by using an open
attribute in the markup. I would describe is as an authoring error to use an open
attribute in the markup on more than one element in a group.
Is there any progress on this issue? Firefox is the last browser to not support the name
attribute.
This is not the right place to follow implementation progress in Gecko. https://bugzilla.mozilla.org/show_bug.cgi?id=1856460 is.
Request for Mozilla Position on an Emerging Web Specification
name
attribute on the HTMLdetails
element)