-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
working as intendedIssue reports behavior in line with specificationIssue reports behavior in line with specification
Description
Bug description
I am running the https://accessibilityinsights.io/ extension and I get flagged an error: scrollable-region-focusable: Elements with scrollable content must be accessible by keyboard.
This error is flagged when enabling the search plugin.
Path: .md-search__scrollwrap
Snippet:
- <div class="md-search__scrollwrap"> <div class="md-search-result" data-md-component="search-result">
- <div class="md-search-result__meta">Type to start searching</div> <ol class="md-search-result__list" role="presentation"></ol> </div>
Fix ONE of the following:
- Element should have focusable content
- Element should be focusable
Adding a tabindex="0" to the div section <div class="md-search__scrollwrap"> removes the error.
Related links
Reproduction
Steps to reproduce
- Unzip and
poetry install - mkdocs serve
- Download extension and fast run: https://accessibilityinsights.io/
Browser
Edge
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction using the built-in info plugin.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
working as intendedIssue reports behavior in line with specificationIssue reports behavior in line with specification