WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: should aria-multiselectable be used on accordion group?

for

From: Lovely, Brian (CONT)
Date: Dec 12, 2016 6:55AM


My recommendation for accordions is to have code in trigger-content-trigger-content order. That way, when the trigger is activated to open its associated content area, that content is the next thing the user will encounter. The triggering element should either be a button, or have role="button" and tabindex="0", and should be provided with the aria-expanded attribute that is dynamically set to reflect the current expanded state of the associated content panel.