Skip to content

Commit

Permalink
fix: added focus style for skiplinks for a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Jan 9, 2024
1 parent b39ab1f commit f528ad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme/bootstrap-override/_bootstrap-italia-site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,6 @@

// gestione dei focus
@import 'bootstrap-italia/src/scss/utilities/focus';
@import './bootstrap-italia/focus';
@import 'bootstrap-italia/src/scss/utilities/icons';
}
3 changes: 3 additions & 0 deletions theme/bootstrap-override/bootstrap-italia/_focus.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.skiplinks .sr-only-focusable:focus {
border: 2px solid $focus-outline-color;
}

0 comments on commit f528ad3

Please sign in to comment.