Skip to content
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

fix(core/linter/a11y): import axe from jsdelivr instead of unpkg #4689

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

sidvishnoi
Copy link
Member

unpkg is down, and I'm not sure it's maintained. Tests are failing for a11y linter, and we get occasional timeouts. So, moving to "bigger player".

@@ -89,7 +89,7 @@ async function getViolations(opts) {
function importAxe() {
const script = document.createElement("script");
script.classList.add("remove");
script.src = "https://unpkg.com/axe-core@4/axe.min.js";
script.src = "https://cdn.jsdelivr.net/npm/axe-core@4/axe.min.js";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should host this too

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe sometime in future

@sidvishnoi sidvishnoi merged commit 3f9bf15 into main Apr 12, 2024
8 checks passed
@sidvishnoi sidvishnoi deleted the axe-core-jsdelivr branch April 12, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants