-
Notifications
You must be signed in to change notification settings - Fork 100
Adding aria-label and aria-labelledby to PopoverContent #2113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding aria-label and aria-labelledby to PopoverContent #2113
Conversation
🦋 Changeset detectedLatest commit: de1b490 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for stacks ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for stacks-svelte ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
dancormier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the linting failed because it expects either all quoted prop names or camelCase.
We go with camelCase these prop names across our components, so would you mind removing the quotes @chris-doucette-stack?
Once that change is made, I'm happy to see this merged in 🙂
Summary
This PR adds accessibility props, aria-label and aria-labelledby to the PopoverContent component. I have added tests to ensure the props are added when provided and excluded when not.