Skip to content

Commit f47daaf

Browse files
committed
📝 Add Jump to navigation todo tag
1 parent 509bf86 commit f47daaf

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

_layouts/default.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,16 @@
1717
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
1818
{% endif %}
1919

20-
{{ content }}
20+
<!--
21+
@todo #2 Add a link to "Jump to navigation".
22+
On mobile, this link should display so that user can click to go to navigation section.
23+
On desktop, this link should be hidden but focusable. It should reveal itself when focused.
24+
This allows keyboard users to use this site easily.
25+
-->
26+
27+
<article>
28+
{{ content }}
29+
</article>
2130

2231
{% if site.github.private != true %}
2332
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">

0 commit comments

Comments
 (0)