Skip to content

Commit

Permalink
feat: set negative tabindex on all jump link targets
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinwhisman committed Apr 6, 2024
1 parent de27ade commit 6c77d4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/projects/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ layout: default
{% endfor %}
</ul>

<h2 id="role-descriptions">
<h2 id="role-descriptions" tabindex="-1">
But what did I do?
</h2>

Expand Down
2 changes: 1 addition & 1 deletion pages/writing/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pagination:
</nav>
</div>
<div class="cmp-stack cmp-writing-grid__sticky-section">
<h2 id="collections">Collections</h2>
<h2 id="collections" tabindex="-1">Collections</h2>

<ul class="cmp-article-listing__list">
<li>
Expand Down
2 changes: 1 addition & 1 deletion src/partials/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</div>
</header>
{% endblock %}
<main id="main-content">
<main id="main-content" tabindex="-1">
{% block content %}
<article class="cmp-container cmp-stack">
{{ content | safe }}
Expand Down

0 comments on commit 6c77d4e

Please sign in to comment.