- Issue created by @irsar
- Status changed to Postponed: needs info
over 1 year ago 6:09pm 20 July 2023 - πΊπΈUnited States smustgrave
Just tested and multiselect is working for me.
Could you provide more detail.
When we click an accordion, the open accordion closes and the new one opens instead of having multiple accordions open. We are using USWDS v2. And looks like data-allow-multiple is being used in the code and USWDS version 2 used aria-multiselectable="true". But I am not sure if that's why multiselect is not working for us. Here is our HTML code and it looks right as per the code component in USWDS,
<div class="usa-accordion usa-accordion--bordered usa-accordion--multiselectable" data-allow-multiple> <h4 class="usa-accordion__heading"> <button type="button" class="usa-accordion__button" aria-controls="0" aria-expanded="false"> Test Accordion1 </button> </h4> <div id="0" class="usa-accordion__content usa-prose" hidden=""> <p> Test Accordion Content </p> </div> <h4 class="usa-accordion__heading"> <button type="button" class="usa-accordion__button" aria-expanded="false" aria-controls="1"> Test Accordion1 </button> </h4> <div id="1" class="usa-accordion__content usa-prose" hidden=""> <p> Test Accordion Content </p> </div> <h4 class="usa-accordion__heading"> <button type="button" class="usa-accordion__button" aria-expanded="false" aria-controls="2"> Test3 </button> </h4> <div id="2" class="usa-accordion__content usa-prose" hidden=""> <p> Test3 </p> </div> </div>
- Status changed to Closed: works as designed
about 1 year ago 6:04pm 28 August 2023 - πΊπΈUnited States smustgrave
Would test against 1.x branch
2.x I've primarily been building against 3.x
According to USWD 2.x is unsupported now https://designsystem.digital.gov/documentation/developers/#long-term-sup...