Skip to content

Commit

Permalink
Merge pull request Automattic#857 from davidakennedy/skiplinkcss
Browse files Browse the repository at this point in the history
Do not show the outline on the skip link target container
  • Loading branch information
karmatosed committed Nov 11, 2015
2 parents e1fe1fc + 1a7cedc commit cd883e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sass/modules/_accessibility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@
z-index: 100000; /* Above WP toolbar. */
}
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
outline: 0;
}
5 changes: 5 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,11 @@ a:active {
z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
Expand Down

0 comments on commit cd883e9

Please sign in to comment.