mirror of https://github.com/istio/istio.io.git
Accessibility update docs links (#10959)
This commit is contained in:
parent
3d8e81d7d9
commit
717bc611aa
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue