diff --git a/sass/modules/_accessibility.scss b/sass/modules/_accessibility.scss index 644f5845..45981b00 100644 --- a/sass/modules/_accessibility.scss +++ b/sass/modules/_accessibility.scss @@ -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; +} diff --git a/style.css b/style.css index a9932421..23409b8c 100644 --- a/style.css +++ b/style.css @@ -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 --------------------------------------------------------------*/