You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using tab to focus light elements on a dark background (as someone might due using a keyboard to navigate a site), the focus visibility of elements is non-apparent.
Observe that the links 'Home', 'Link' and button 'Dropdown' do not have a box around them while focused
Screenshots
2024-07-16.11-29-30.mp4
Expected Behavior
The links and buttons should have some high contrast visual indicator that they are focused using the keyboard:
2024-07-16.11-28-47.mp4
This behavior was demo by editing the stylesheets like the below, however this is just a reference to understand how the focus styles are computed from the theme. See the next section for a more robust fix for this issue by updating the theme.
The Problem
When using tab to focus light elements on a dark background (as someone might due using a keyboard to navigate a site), the focus visibility of elements is non-apparent.
To Reproduce
Steps to reproduce the behavior:
Screenshots
2024-07-16.11-29-30.mp4
Expected Behavior
The links and buttons should have some high contrast visual indicator that they are focused using the keyboard:
2024-07-16.11-28-47.mp4
This behavior was demo by editing the stylesheets like the below, however this is just a reference to understand how the focus styles are computed from the theme. See the next section for a more robust fix for this issue by updating the theme.
The Solution
Override the
$focus-ring-color
SCSS variable and set it toblue
instead of$primary
insrc/scss/_bootstrap-variables.scss
.Then regenerate the theme CSS using
./scripts/compile_styles.sh
.The text was updated successfully, but these errors were encountered: