-
Notifications
You must be signed in to change notification settings - Fork 33
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
Updated the accessible label of the SubNav's open/close toggle button to include the current page #838
Conversation
🦋 Changeset detectedLatest commit: 68ae6ba The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
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 |
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no suggestions.
Comments skipped due to low confidence (1)
packages/react/src/SubNav/SubNav.test.tsx:114
- [nitpick] The test case name should be updated to reflect the new functionality. Consider renaming it to 'it('includes the aria-current text in the aria-label of the button', () => {'
it('shows the aria-current text next to the button by default', () => {
Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more
🟢 No design token changes found |
|
9987147
to
66f7b76
Compare
66f7b76
to
f92d71c
Compare
f92d71c
to
68ae6ba
Compare
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.
Thanks @joshfarrant ✨
Summary
Following on from this discussion, I spotted a Sev-2 a11y issue which references the same underlying issue.
fireEvent
usage in those tests withuserEvent
as we were previously using both in tests unnecessarily.What should reviewers focus on?
Steps to test:
Supporting resources (related issues, external links, etc):
Contributor checklist:
update snapshots
label to the PR)Reviewer checklist: