Accessibility update docs links (#10959)

This commit is contained in:
Ihor Sychevskyi 2022-02-24 15:11:20 +02:00 committed by GitHub
parent 3d8e81d7d9
commit 717bc611aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -50,10 +50,10 @@
<a class='main' title="{{ $desc }}" href="{{ .Permalink }}">{{ $linktitle}}</a>
{{ partial "navigation_level.html" (dict "pages" $pages "parent" . "current" $current "collapse" false "top" false "labelledby" "" ) .CurrentSection }}
{{ else if (.CurrentSection.IsAncestor $current) }}
<button {{ if not $collapse }} class="show" {{ end }} aria-hidden="true"></button><a title="{{ $desc }}" href="{{ .Permalink }}">{{ $linktitle}}</a>
<button {{ if not $collapse }} class="show" {{ end }} aria-hidden="true" tabindex="-1" ></button><a title="{{ $desc }}" href="{{ .Permalink }}">{{ $linktitle}}</a>
{{ partial "navigation_level.html" (dict "pages" $pages "parent" . "current" $current "collapse" $collapse "top" false "labelledby" "" ) }}
{{- else -}}
<button {{ if not $collapse }} class="show" {{ end }} aria-hidden="true"></button><a title="{{ $desc }}" href="{{ .Permalink }}">{{ $linktitle}}</a>
<button {{ if not $collapse }} class="show" {{ end }} aria-hidden="true" tabindex="-1" ></button><a title="{{ $desc }}" href="{{ .Permalink }}">{{ $linktitle}}</a>
{{ partialCached "navigation_level.html" (dict "pages" $pages "parent" . "current" $current "collapse" $collapse "top" false "labelledby" "" ) .CurrentSection }}
{{- end -}}
</li>