Skip to main content

Search and Top Navigation

#15356 new bug ()

Opened October 08, 2019 08:39PM UTC

Last modified October 08, 2019 08:42PM UTC

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.

Attachments (0)
Change History (1)

Changed October 08, 2019 08:42PM UTC by LauraOH comment:1

summary: Accordion shouldn't use tablist/tab roleAccordion shouldn't use tablist/tab roles