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
This is an accessibility issue. There have been some discussions about a pseudo-selector that combines the two, but we should at least be warning folks if they add :hover styles without also adding :focus.
/cc @primer/ds-core
The text was updated successfully, but these errors were encountered:
I think @muan added some "focused with the mouse vs keyboard" trickery on some components.
In dotcom we have a short script discerning user intent (mouse or keyboard), and applying outline: none only when .intent-mouse *:focus. Check out button-outline.js/css.
This is an accessibility issue. There have been some discussions about a pseudo-selector that combines the two, but we should at least be warning folks if they add
:hover
styles without also adding:focus
./cc @primer/ds-core
The text was updated successfully, but these errors were encountered: