Accordion incorrectly enumerates the buttons and content

Created on 24 August 2023, 10 months ago
Updated 28 August 2023, 10 months ago

Problem/Motivation

USWDS Accordion incorrectly numbers the buttons and content

Steps to reproduce

Add a USWDS accordion button to the page outside of the <main>; For example, when using the USWDS theme with the mega menu enabled, it uses the CSS class usa-accordion__button to provide dropdowns.

Proposed resolution

Adding context to the jQuery selector to isolate the two queues involved in the <main>

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sjmolinski

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024