Opened 3 years ago

Last modified 3 years ago

#15356 new bug

Accordion shouldn't use tablist/tab roles

Reported by: LauraOH Owned by:
Priority: minor Milestone: none
Component: ui.accordion Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:


The jquery accordion currently uses tablist and tab roles on the elements; however the functioning is like an expandable accordion, which is a different design pattern.

Accordions should be buttons that have the attribute aria-expanded on them; the aria-expanded is update to the "true" value when the content is shown below the accordion. They do not use the aria-selected attribute.

Tablists should have the aria-selected role updated to be "true" for the currently visible tabpanel. Aria-expanded should not be used on tabs.

Change History (1)

comment:1 Changed 3 years ago by LauraOH

Summary: Accordion shouldn't use tablist/tab roleAccordion shouldn't use tablist/tab roles
Note: See TracTickets for help on using tickets.