Skip to content

Fix unsupported ARIA attributes on facet panels #321

@erinchambers

Description

@erinchambers

Issue Description

Elements must only use supported ARIA attributes
We need to remove the aria-expanded attribute from the body of each expandable facet panel. This needs to be fixed in the date limit facet code as well as the "default" facet code.

Here's how it shows up in our date limit facet code, for example:

div class="panel-body collapse in" id="dates" aria-expanded="true" style="">

Suggested Fixes

The aria-expanded attribute belongs on the button or link that expands the panel, not the panel itself. We already have aria-expanded on the buttons that expand each panel, so we just need to remove any instances where it's showing up on <div class="panel-body ...">.

Metadata

Metadata

Assignees

Labels

Priority 3: ModerateShould be fixed before deadline if time permits.a11yAccessibility changes REQUIRED to meet ADA Title II requirements (WCAG 2.1 Level AA).research

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions