Merge pull request #857 from davidakennedy/skiplinkcss

Do not show the outline on the skip link target container
This commit is contained in:
Tammie Lister 2015-11-11 20:01:49 +00:00
commit cd883e9176
2 changed files with 10 additions and 0 deletions

View File

@ -25,3 +25,8 @@
z-index: 100000; /* Above WP toolbar. */ z-index: 100000; /* Above WP toolbar. */
} }
} }
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
outline: 0;
}

View File

@ -664,6 +664,11 @@ a:active {
z-index: 100000; /* Above WP toolbar. */ z-index: 100000; /* Above WP toolbar. */
} }
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
outline: 0;
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
# Alignments # Alignments
--------------------------------------------------------------*/ --------------------------------------------------------------*/