-
Notifications
You must be signed in to change notification settings - Fork 841
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
[Chore] : Migrated axe-puppeteer to @axe-core/puppeteer #4482
Conversation
Signed-off-by: Akash Gupta <akashgp9@gmail.com>
Signed-off-by: Akash Gupta <akashgp9@gmail.com>
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
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.
Nice! Your fix in tour_step.tsx
was really good! I thought we were going to have to do a bunch of work on the consuming side but your fix is better.
I left a few suggestions for how to improve popover.tsx
for other consumers but that should be it, I think!
@myasonik thank you for the review :) |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4482/ |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4482/ |
@akashgp09 Looks like a snapshot test failed. If you run |
Jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4482/ |
Jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4482/ |
@akashgp09 looks like there's another a11y failure that you weren't getting locally. I'll take a look and see if I can reproduce it. |
Okay, thank you @myasonik. |
I wasn't able to reproduce the issue locally when running the test suite but it does show up when running the axe addon in browser. It's inside the Youtube iframe so that's far beyond our control. I tried ignoring any iframe contents so we'll see if that works in CI. Github actions seem to be having a bad day so we'll have to wait until we can run it to verify. |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4482/ |
jenkins test this
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4482/ |
This failed on the iframe issue again so I guess my fix didn't work... Will try again. Huh - seems to be an issue in axe: dequelabs/axe-core#2690 I wonder why it's not happening locally and why the exclusion didn't work... |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4482/ |
jenkins test this Confirming everything works by trying for two green builds in a row |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4482/ |
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.
LGTM!
Thanks for your work on this @akashgp09! Really appreciated and apologies for our CI flakiness on this one! |
@myasonik thank you for you continuous feedbacks and guidance on this one. Finally it's done🥳 |
Summary
This PR Fixes: #4436
Migrated deprecated dependency
axe-puppeteer v1.1.1
to@axe-core/puppeteer v4.1.1
Note:
Fixed one accessibility error that occured after migrating to
@axe-core/puppeteer v4.1.1
Now all a11y tests are passing :
Checklist
-[ ] Checked Code Sandbox works for the any docs examples