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

🐛 Bug: Accessibility issue on mochajs.org: missing alt text #5066

Closed
4 tasks done
JoshuaKGoldberg opened this issue Dec 28, 2023 · 0 comments · Fixed by #5068
Closed
4 tasks done

🐛 Bug: Accessibility issue on mochajs.org: missing alt text #5066

JoshuaKGoldberg opened this issue Dec 28, 2023 · 0 comments · Fixed by #5068
Assignees
Labels
area: browser browser-specific good first issue new contributors should look here! status: accepting prs Mocha can use your help with this one! type: bug a defect, confirmed by a maintainer

Comments

@JoshuaKGoldberg
Copy link
Member

Bug Report Checklist

  • I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
  • I have searched for related issues and issues with the faq label, but none matched my issue.
  • I have 'smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, my usage of Mocha, or Mocha itself.
  • I want to provide a PR to resolve this

Expected

The website should not have any accessibility issues - including ones detectable by the axe browser devtools.

Actual

The Netlify logo in the footer is missing image alt text.

<div class="netlify-badge">
<a href="https://www.netlify.com">
<img src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" loading="lazy">
</a>
</div>

Minimal, Reproducible Example

  1. Visit https://mochajs.org
  2. Wait for the page to load & fade in
  3. Run the axe browser devtools

Versions

n/a

Additional Info

https://web.dev/explore/accessible explains more around web accessibility.

I first ran a Lighthouse accessibility audits but it didn't wait for the page to fade in and reported many false negatives as a result.

@JoshuaKGoldberg JoshuaKGoldberg added type: bug a defect, confirmed by a maintainer area: browser browser-specific status: accepting prs Mocha can use your help with this one! labels Dec 28, 2023
@JoshuaKGoldberg JoshuaKGoldberg self-assigned this Dec 28, 2023
@JoshuaKGoldberg JoshuaKGoldberg added the good first issue new contributors should look here! label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: browser browser-specific good first issue new contributors should look here! status: accepting prs Mocha can use your help with this one! type: bug a defect, confirmed by a maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant