-
Notifications
You must be signed in to change notification settings - Fork 601
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
Add accordion as a new component #2580
Comments
@SethDonohue Can you dig into exploring this? It would be great to have you dig into the WAI specification and come up with a potential API so we can talk through it prior to building. |
As far as the ARIA design pattern and keyboard interactions, this looks fairly simple to follow per the W3 Accordion spec. I would also match the Keyboard Interaction Model. This also may be laid out like TreeView, with PanelView and PanelItem components The spec has some optional items, like allowing more than one panel to be open at once or not, so we would most likely want some props to control those type of options. Potential props:
Still exploring drag and drop for this. Names of props will need improvement... |
@SethDonohue I don't think we'd want to bake drag and drop; I'd suggest looking at The above potential props look like you're proposing a complex object for this. Is there a way we can do this with composition to better match our current implementation model? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
closed with #3067 |
Accordion should be add as a new components in fast-components-react-base.
As defined by the W3C:
Accordion should include:
Interaction model:
The accordion should align to the interaction model provided by the W3C: https://w3c.github.io/aria-practices/#keyboard-interaction
Examples
TBD
The text was updated successfully, but these errors were encountered: