mirror of https://github.com/istio/istio.io.git
Site improvements (#4049)
- Add missing ARIA annotations on the See Also entry in the right-hand TOC - Add missing ARIA annotations on the FAQ pages, and switch from a UL to an OL list for the questions in order to get rid of the bullets.
This commit is contained in:
parent
24d972fd7a
commit
469667b184
|
|
@ -9,11 +9,11 @@
|
||||||
<hr/>
|
<hr/>
|
||||||
<div class="directory" role="directory">
|
<div class="directory" role="directory">
|
||||||
<nav id="InlineTableOfContents">
|
<nav id="InlineTableOfContents">
|
||||||
<ul>
|
<ol>
|
||||||
{{ range $q := $sorted_questions }}
|
{{ range $q := $sorted_questions }}
|
||||||
<li><a href="#{{ $q.File.BaseFileName | urlize }}">{{ $q.Title }}</a></li>
|
<li role="none" aria-label="{{ $q.Title }}"><a href="#{{ $q.File.BaseFileName | urlize }}">{{ $q.Title }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
{{ if $page.Scratch.Get "seeAlso" }}
|
{{ if $page.Scratch.Get "seeAlso" }}
|
||||||
{{ with $related }}
|
{{ with $related }}
|
||||||
<li><a href="#see-also">{{ i18n "see_also" }}</a></li>
|
<li role="none" aria-label="{{ i18n "see_also" }}"><a href="#see-also">{{ i18n "see_also" }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue