🐛 Bug: Accessibility issue on mochajs.org: scrollable region missing keyboard focus #5067
Open
4 tasks done
Labels
area: browser
browser-specific
status: accepting prs
Mocha can use your help with this one!
type: bug
a defect, confirmed by a maintainer
Bug Report Checklist
faq
label, but none matched my issue.Expected
The website should not have any accessibility issues - including ones detectable by the axe browser devtools.
Actual
Several code blocks, such as the
const assert = require('assert');
code block under https://mochajs.org/#delayed-root-suite, are a scrollable region without keyboard focus. That makes them unusable for users who scroll with non-mouse devices - such as keyboards.Minimal, Reproducible Example
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.
The text was updated successfully, but these errors were encountered: