Skip to content

Commit

Permalink
Fixes "skip to main content" link
Browse files Browse the repository at this point in the history
  • Loading branch information
sfisher committed Nov 15, 2024
1 parent d67a6ce commit 28aac49
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions static_src/stylesheets/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion templates/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

<a class="sr-only" href="#main-content">{% trans "Skip navigation" %}</a>
<a href="#main-content" class="skip-link" aria-label="Skip to main content">Skip to main content</a>

{% include "includes/status.html" %}
{% include "includes/top.html" %}
<a class="sr-only" name="main-content"></a>
Expand Down

0 comments on commit 28aac49

Please sign in to comment.