Skip to content

Instantly share code, notes, and snippets.

@fcalderan
Last active September 29, 2022 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fcalderan/9d76ed203bc29ad672ed8d8e86105d02 to your computer and use it in GitHub Desktop.
Save fcalderan/9d76ed203bc29ad672ed8d8e86105d02 to your computer and use it in GitHub Desktop.
Angelini, accessibility hints
/* focus visibile */
.site__brand:focus-within,
a:focus {
outline: 3px #FF50AE solid !important;
outline-offset: 2px;
}
/* skip navigazione visibile al focus */
:root .structural:focus-within {
clip: initial;
height: auto;
width: auto;
white-space: nowrap;
margin: 8px 0 0 0;
overflow: visible;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment