#2403·jquery-ui

Accordions violate accessibility requirements of WCAG 2.1

Author: octavpoCreated Apr 15, 2026Updated Jun 19, 2026
LabelsNeeds info

When I run a scan with axe-core DevTools on a page containing an accordion made with your widget, I get a critical error indicating that for the element with a 'tablist' role "Element has children which are not allowed: [role=tabpanel]". The ARIA Authoring Practices Guide (APG) examples at https://www.w3.org/WAI/ARIA/apg/patterns/accordion/examples/accordion/ seems to show accordions shouldn't use tab roles at all.