czerkies / romanczerkies.31

GitHub repository of the romanczerkies.fr project Version 31
https://romanczerki.es
0 stars 1 forks source link

Add focus ring with `outline` property when `:focus-visible` pseudo-class detected #147

Closed czerkies closed 10 months ago

czerkies commented 1 year ago
czerkies commented 11 months ago

Ensure that focused controls are given highly visible focus indicators.

The appearance of the focus indicator is up to you as the web author, but it must be perceivable. If you stick to a solid design that is undisputedly clear, you might save yourself a headache trying to interpret multiple WCAG criteria around this. In other words, do not implement a light border that cannot be easily distinguished against the control it surrounds

https://www.tpgi.com/how-to-avoid-breaking-web-pages-for-keyboard-users/

czerkies commented 11 months ago

Give responsibility of @media (any-hover: hover) query of transition custom properties to nav component.