Open terrill opened 4 years ago
It would be actually be really cool I think (and on brand) to provide a variation on the default Chrome indicator that uses Husky purple instead of blue.
When I originally reported this issue, I neglected to mention the lack of a visible focus indicator on links in the main body (or maybe this is a newly introduced problem). In the main body, links that receive focus change to gold. This is a violation of WCAG 2.1 Success Criterion 1.4.1 Use of Color ("Color is not the only visual means of conveying information"). Using color alone to communicate when a link has focus is inaccessible to people with eyesight who are unable perceive color differences. Here's the rule in style.css that changes the style of links within the body when they have focus:
.uw-body a:focus, .uw-body a:hover {
color: #85754d;
}
Meanwhile, the following rule, also in style.css, removes the browser's default focus indicator on every link. So even Chrome users, accustomed to the prominent blue border around links, get nothing but the color change on focus:
a:focus {
outline: none;
}
Commenting here to resurface this issue. It's actually two issues. Let me know if you'd like me to post the second one in a separate ticket:
The visible focus indicator in the Boundless theme is inconsistent overall, and often the changes are subtle or indecipherable. For example, if the user tabs through the UW home page:
Can we provide users with a more obvious visible focus indicator, that is consistent across all focusable elements? The following CSS is a close approximation to the default focus indicator in Chrome (a prominent blue border):