mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-26 16:40:33 +00:00
5a951e2159
- Changes the "skip to content" link to point to "#bodyContent" instead of "#content". - Adds a `aria-labelledby` attribute to #bodyContent. - Changes the table of contents "back to top" link to point to "#" instead of "#top-page". - Removes "#top" link as it appeared unused. - Updates Jest snapshots. Bug: T312818 Change-Id: I86443066d45c818d6f137d70ebe36798eba66f13
23 lines
896 B
Plaintext
23 lines
896 B
Plaintext
<nav id="mw-panel-toc" class="sidebar-toc" role="navigation" aria-labelledby="sidebar-toc-label" data-event-name="ui.sidebar-toc">
|
|
<div id="sidebar-toc-label" class="sidebar-toc-header">
|
|
<p class="sidebar-toc-title">
|
|
{{ msg-vector-toc-heading }}
|
|
<button class="vector-toc-uncollapse-button">{{msg-vector-toc-toggle-position-sidebar}}</button>
|
|
<button class="vector-toc-collapse-button">{{msg-vector-toc-toggle-position-title}}</button>
|
|
</p>
|
|
</div>
|
|
<ul class="sidebar-toc-contents" id="mw-panel-toc-list">
|
|
{{#is-vector-toc-beginning-enabled}}
|
|
<li id="toc-mw-content-text"
|
|
class="sidebar-toc-list-item sidebar-toc-level-1">
|
|
<a href="#" class="sidebar-toc-link">
|
|
<div class="sidebar-toc-text">{{ msg-vector-toc-beginning }}</div>
|
|
</a>
|
|
</li>
|
|
{{/is-vector-toc-beginning-enabled}}
|
|
{{#array-sections}}
|
|
{{>TableOfContents__line}}
|
|
{{/array-sections}}
|
|
</ul>
|
|
</nav>
|