Skip to content

Commit 16de9a6

Browse files
authored
fix a couple of accessibility issues (#115)
This fixes some a11y issues that the firefox a11y helper found. Basically it hides the burger menu from a11y since it's not needed for screen readers.
1 parent 649de0b commit 16de9a6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/base.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<a class="site-title" rel="author" href="/">{{config.title}}</a>
4343
<nav class="site-nav">
4444
<input type="checkbox" id="nav-trigger" class="nav-trigger">
45-
<label for="nav-trigger">
45+
<label for="nav-trigger" role="none">
4646
<span class="menu-icon">
4747
<svg viewBox="0 0 18 15" width="18px" height="15px">
4848
<path
@@ -83,11 +83,11 @@ <h2 class="footer-heading">{{config.title}}</h2>
8383
<div class="footer-col footer-col-2">
8484
<ul class="social-media-list">
8585
<li><a href="https://github.com/linebender">
86-
<svg class="svg-icon">
87-
<use xlink:href="/minima-social-icons.svg#github"></use>
88-
</svg>
89-
<span class="username">linebender</span>
90-
</a></li>
86+
<svg class="svg-icon" role="none">
87+
<use xlink:href="/minima-social-icons.svg#github"></use>
88+
</svg>
89+
<span class="username">linebender</span>
90+
</a></li>
9191
</ul>
9292
</div>
9393

0 commit comments

Comments
 (0)