Problem/Motivation
In some circumstances, the logo link in the sidebar lacks a visible focus indicator.
It appears to be overridden by Claro's elements.pcss.css.
Here's a screenshot showing the CSS override with the :focus state forced in the styles pane in Edge dev tools.

And with offending CSS outline property disabled, allowing the focus indicator to display.

WCAG success criteria
SC 2.4.7 Focus Visible (Level AA)
Related technique
Steps to reproduce
The bug is intermittent or page-specific. This currently reproduces it for me:
- Enable the Navigation module.
- Log in as user 1.
- Go to
/user/1/edit - Press the
TABkey until the focus reaches the first focusable menu item in the sidebar after the logo. Currently, that is the "Shortcuts" button.
Expected behavior
A focus indicator is displayed for the logo at the top of the sidebar.
Actual behavior
A focus indicator is not displayed for the logo at the top of the sidebar.
Code snippet
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| logo-link-focus-visible-with-css-outline-property-disabled.png | 233.55 KB | kentr | |
| logo-link-no-focus.png | 229.25 KB | kentr |
Comments