Skip to content

Commit ce2a183

Browse files
committed
Remove focus outline around #main when skiplink is triggered.
The page jumps to the new section. That's enough to determine the change. No need for the focus outline.
1 parent e1fe732 commit ce2a183

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

website/www/_static/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,6 @@ div.highlight pre { background: lightyellow;}
180180
width: auto;
181181
height: auto; }
182182

183+
/* remove solid black border when focus is around the main section
184+
due to activation of skip-link. Page jumps there, that's enough. */
185+
#main:focus-visible {outline: none;}

0 commit comments

Comments
 (0)