-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
feat(#16235): display a11y issues number in addon tab title #17983
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 1c33d26. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
50e2a80
to
3d4ee80
Compare
3d4ee80
to
147271d
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.
Works a treat, and code looks good! Thank you, @jsomsanith! 🙏 This a nice little tweak, and I appreciate that you properly tested it.
Thank you for the review @kylegach |
Issue: #16235
What I did
Display the number of a11y issues in the addon tab title.
Addon-a11y
context doesn't store the axe result in a react state anymore, but in the store exposed byapi
.The title in
addon-a11y
is now a function that gets the addon result from api addon state, and build the title accordingly.impacted tests have been adapted, and tests on
addon-a11y
manager have been added.How to test
If your answer is yes to any of these, please make sure to include it in your PR.