aXe / accessibility: missing region around Skip link in theme-classic #6252
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
status: accepting pr
This issue has been accepted, and we are looking for community contributors to implement this
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
aXe 4.1: region specifies:
The Skip to main content link is an excellent + necessary thing to have on a webpage (♥) but is itself not in any region right now. That's causing aXe to log a failure when run with Enable Best Practices enabled.
Steps to reproduce
Alternately, see these cypress-axe failures: https://github.com/typescript-eslint/typescript-eslint/runs/4685834360?check_suite_focus=true
Expected behavior
Some kind of role wrapped around the skip-to-main-content link.
For example, on codecademy.com/docs, we use a
role="region"
.Actual behavior
No region around the link.
Your environment
2.0.0-beta.14
Reproducible demo
typescript-eslint/typescript-eslint#4362
Self-service
The text was updated successfully, but these errors were encountered: