mochajs / mocha

β˜•οΈ simple, flexible, fun javascript test framework for node.js & the browser

Home Page:https://mochajs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› Bug: Accessibility issue on mochajs.org: missing alt text

JoshuaKGoldberg opened this issue Β· comments

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.