You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation for DuellingPicklist groups renders invalid markup: the StyledGroupWrapper is a div element which is a child direct of the Picklist which is a ul element. In turn the StyledPicklistGroup are li elements and they are direct children of StyledGroupWrapper.
Expected behaviour
Valid markup so no errors are thrown in the accessibility tab in storybook for the linked story.
Current behaviour
The implementation for
DuellingPicklist
groups renders invalid markup: theStyledGroupWrapper
is adiv
element which is a child direct of thePicklist
which is aul
element. In turn theStyledPicklistGroup
areli
elements and they are direct children ofStyledGroupWrapper
.Expected behaviour
Valid markup so no errors are thrown in the accessibility tab in storybook for the linked story.
CodeSandbox or Storybook URL
https://carbon.sage.com/?path=/story/design-system-duellingpicklist--grouped
Suggested Solution
Change the
StyledGroupWrapper
to be ali
element and then have it render aul
as its direct child and theStyledPicklistGroup
s children of thatCarbon Version
latest
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
What Operating System are you seeing the problem on?
MacOS, Windows, Linux, Android, iOS
Anything else we should know?
No response
Confidentiality
The text was updated successfully, but these errors were encountered: