Opened 11 days ago

Last modified 11 days 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:

Description

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 11 days 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.