Skip to content

Commit 37e4be6

Browse files
committed
removing funky characters, subbed 'outline' for 'border'
1 parent 05b1f68 commit 37e4be6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<link rel="stylesheet" href="{{ '/assets/algolia.css' | relative_url }}">
8181
</head>
8282
<body>
83-
<a href="#{{ page.title | downcase | split:" " | join:"-" }}" class="skiplink">Skip to main content</a>
83+
<a href="#{{ page.title | remove:':' | remove:'?' | remove:'(' | remove:')' | remove:',' | remove:'&' | replace:"'", "-"| replace:'.', '-' | downcase | split:' ' | join:"-" }}" class="skiplink">Skip to main content</a>
8484
<div id="consent-manager"></div>
8585
{{ content }}
8686
<a class="back-scrolling" data-back-scrolling data-active-class="back-scrolling--active">

src/_sass/components/_markdown.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ tr.show {
398398
}
399399

400400
.skiplink:focus-visible {
401-
border: 4px solid color(secondary);
401+
outline: 4px solid color(secondary);
402402
padding: 2px;
403403
color: color(secondary);
404404
position: static;

0 commit comments

Comments
 (0)