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

refactor(web-components): cleanup accordion and update to elementInternals for state #31866

Merged

Conversation

davatron5000
Copy link
Contributor

Previous Behavior

Current accordion has unneeded and confusing features like focusgroup and extra slots and grouping divs inside template.

New Behavior

  • Removed focusgroup behavior from Accordion per a11y review and parity with React implementation
  • Flattened AccordionItem template
  • Removed end slot in favor of consumer-supplied CSS
  • Refactored AccordionItem CSS
  • Renamed slots to be more spec-like

Related Issue(s)

  • Fixes #

@davatron5000 davatron5000 requested a review from a team as a code owner June 28, 2024 20:36
@fabricteam
Copy link
Collaborator

fabricteam commented Jun 28, 2024

📊 Bundle size report

✅ No changes found

@davatron5000 davatron5000 enabled auto-merge (squash) July 3, 2024 20:41
@davatron5000 davatron5000 force-pushed the davatron5000/refactor-accordion branch from f076f30 to 34621b1 Compare July 3, 2024 20:47
@davatron5000 davatron5000 merged commit 61b0027 into microsoft:master Jul 3, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants