The accordion item must be operable with a keyboard, so users can open and close it using standard keyboard controls.
The requirement (from the design system site)
The accordion item must be operable with a keyboard, so users can open and close it using standard keyboard controls.
Why it matters to users
Fees, required documents and FAQs often sit inside accordions. If a header only reacts to a mouse click, a keyboard user cannot open it and never sees the information inside.
How to fix it
Use gup-accordion, or make each accordion header a native button or a details and summary pair, so Enter and Space open and close it. Then scan again.
How we measure it
Each accordion toggle (gup-accordion-item header, [aria-expanded] trigger, or summary) must be a native button/summary or have role=button with tabindex>=0. Actual Enter/Space behaviour is not exercised by the crawl. Partly measured: we measure what the public pages show of this rule; the rest needs a review.
The rule on the design system site