Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclusive accordions with <details name=""> #831

Closed
dbaron opened this issue Jun 21, 2023 · 8 comments
Closed

Exclusive accordions with <details name=""> #831

dbaron opened this issue Jun 21, 2023 · 8 comments

Comments

@dbaron
Copy link
Contributor

dbaron commented Jun 21, 2023

Request for Mozilla Position on an Emerging Web Specification

@zcorpan
Copy link
Member

zcorpan commented Jun 22, 2023

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.

@zcorpan
Copy link
Member

zcorpan commented Jun 28, 2023

No dashboard entry since it's more of an incremental improvement for details.

@smaug----
Copy link
Collaborator

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

@dbaron
Copy link
Contributor Author

dbaron commented Jul 2, 2023

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?

@smaug----
Copy link
Collaborator

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.

@dbaron
Copy link
Contributor Author

dbaron commented Jul 4, 2023

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.

@MBeggiato
Copy link

Is there any progress on this issue? Firefox is the last browser to not support the name attribute.

@zcorpan
Copy link
Member

zcorpan commented Jun 13, 2024

This is not the right place to follow implementation progress in Gecko. https://bugzilla.mozilla.org/show_bug.cgi?id=1856460 is.

@zcorpan zcorpan changed the title Request for Mozilla Position: exclusive accordions with <details name=""> Exclusive accordions with <details name=""> Jun 13, 2024
@zcorpan zcorpan changed the title Exclusive accordions with <details name=""> Exclusive accordions with <details name=""> Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants