Accessibility Violation in Storybook #4046
Unanswered
mattwendzina
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting a storybook accessibility violation on a replicated id. I've checked my code to look for anything obvious but can't see anything, the same issue seems to be in this example repo from the docs too:
https://codesandbox.io/s/reverent-faraday-5nwk87?file=/src/DateField.js
Relating it to this repo you can see from the screenshot that the DateField container and then an inner
<div>
both have the same Id -react-aria7321661300-3
.The accessibility violation says that every id attribute should be unique.
Is there a reason why this Id is getting replicated and is there a way to avoid this happening?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions