-
Notifications
You must be signed in to change notification settings - Fork 2
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
Button 'Читать' (Read the book) does not have an outline when focusing with the Tab-key #39
Comments
There are weird Docusaurus bugs around the outline. It's a problem, but I'm not sure how to fix it without breaking everything else. |
It seems I have found the problem: In The However, I find this solution a workaround because current CSS classes shut down the NATIVE outline with Just for reference: |
Sent a Pull request #41 |
Thanks a lot for the PR! I think in the past, Docusaurus added .focus-visible to elements in focus (facebook/docusaurus#3150). Removing outline:0 adds outline in addition to background color change (see a preview on https://ba8550b1.hpmor-ru.pages.dev/), which is not something we'd want. |
When focusing with the Tab-key on the main page, a visual button 'Читать' (Read the book) does not have an outline or other visual representation (i.e., shadow, background change, or zoom).
This is an accessibility issue related to Level A (minimal level) of WCAG paragraph 2.4.7.
Thank you!
The text was updated successfully, but these errors were encountered: