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 in High Contrast Mode on Windows 10 or 11, it is difficult to determine if certain text is an interactive link or not. For example, hovering over the settings cog will change the cursor to a pointer and change the background color, while focusing the settings cog will display an outline around the button.
When hovering or keyboard navigating through the docs, components, and stories in the sidebar, the only indication that these items are interactive is the cursor to pointer change.
Describe the bug
When in High Contrast Mode on Windows 10 or 11, it is difficult to determine if certain text is an interactive link or not. For example, hovering over the settings cog will change the cursor to a pointer and change the background color, while focusing the settings cog will display an outline around the button.
When hovering or keyboard navigating through the docs, components, and stories in the sidebar, the only indication that these items are interactive is the cursor to pointer change.
Reproduction link
https://github.com/TGiles/storybook-test
Reproduction steps
Expected result:
Actual result:
System
Additional context
Having the cursor: pointer is helpful, but having some form of underline on links is extremely beneficial in HCM. There are a few ways to handle this:
Make underlines appear on hover and focus. This strategy is what Wikipedia uses for their links.
Always show underlines but make them disappear on hover and focus. MDN uses this for links in the main content of articles.
Always show underlines regardless of hover and focus. This is the default user agent styling in Firefox, seen in this demo on MDN
The text was updated successfully, but these errors were encountered: