Closed (fixed)
Project:
radix
Version:
6.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2026 at 15:40 UTC
Updated:
18 Jun 2026 at 06:30 UTC
Jump to comment: Most recent
The radix accordion component creates duplicate HTML ids, because the id from the accordion is also used for each button inside the accordion (because the id is inherited via twig).
Avoid creating a button id by explicitly providing an empty id to the buttons inside the accordion
Bootstrap does not use an id on the button in its examples: https://getbootstrap.com/docs/5.3/components/accordion/#example
Otherwise one could also given an unique id to the buttons, like this:
id: 'button-' ~ id ~ '-' ~ loop.index
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
stefan.kornComment #6
doxigo commentedGreat fix Stefan, merged