Background goal
See T326665 for the main component task. Ideally the CSS-only implementation would use the native browser behavior of <details>. See the discussion at T326665#8877643.
Also, we've decided to update the hover and active background colors to the following ones:
- Hover: @background-color-interactive-subtle
- Active: @background-color-interactive
Design spec
Acceptance criteria (or Done)
Design
- Update the Figma exploration file with the new colors:
- Hover: @background-color-interactive-subtle
- Active: @background-color-interactive
- Create the image to be updated in the Interaction states with the new colors for hover and active: accordion-interaction-states.svg
- Update the component in the Figma library. This step will be done by a DST member.
Code
- Implement the CSS-only version
- Update the hover and active colors with the new proposal
- Update the image, description and alt text in the Interaction states with the new hover and active:
- Image accordion-interaction-states.svg
- Image's description and alt text in this doc