Description
Based on the elements from https://github.com/twbs/bootstrap/issues/37776#issuecomment-1369167139, IMO the current background color management is OK since it provides some security regarding a11y and contrast if the accordions (or list groups) are included in another parent container with a different background color.
So this PR suggests to only remove a part of the sentence and to get close to the one in https://getbootstrap.com/docs/5.3/components/list-group/#flush.
Type of changes
-
Bug fix (non-breaking change which fixes an issue)
Checklist
-
I have read the contributing guidelines -
My code follows the code style of the project (using npm run lint
) -
My change introduces changes to the documentation -
I have updated the documentation accordingly - (NA) I have added tests to cover my changes
-
All new and existing tests passed
Live previews
Related issues
Closes #37776 (closed)