mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Set tabindex
to 0
for skip to content link (#1393)
see https://web.dev/control-focus-with-tabindex/
This commit is contained in:
parent
72891b8bcb
commit
98b11c1ad9
@ -228,7 +228,7 @@
|
||||
|
||||
<!-- Render "skip to content" link -->
|
||||
{% if page.toc | first is defined %}
|
||||
<a href="{{ (page.toc | first).url }}" tabindex="1"
|
||||
<a href="{{ (page.toc | first).url }}" tabindex="0"
|
||||
class="md-skip">
|
||||
{{ lang.t('skip.link.title') }}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user