mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-02 19:26:51 +00:00
158269333d
Fixes 9 warnings generated by https://validator.w3.org/nu/ - The navigation role is unnecessary for element nav. - The main role is unnecessary for element main. - The contentinfo role is unnecessary for element footer. Bug: T365938 Change-Id: Ibdbe70900f9a85d904252ad8ac26e4bb6e813a1c
65 lines
3.9 KiB
Plaintext
65 lines
3.9 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Sticky header renders 1`] = `
|
|
"<div id=\\"vector-sticky-header\\" class=\\"vector-sticky-header\\">
|
|
<div class=\\"vector-sticky-header-start\\">
|
|
<div class=\\"vector-sticky-header-icon-start vector-button-flush-left vector-button-flush-right\\" aria-hidden=\\"true\\">
|
|
<button class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-sticky-header-search-toggle\\" data-event-name=\\"ui.vector-sticky-search-form.icon\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search\\"></span>
|
|
|
|
<span>search</span>
|
|
</button>
|
|
</div>
|
|
<div> </div> <div class=\\"vector-sticky-header-context-bar\\">
|
|
<nav aria-label=\\"\\" class=\\"vector-toc-landmark\\">
|
|
<div id=\\"vector-sticky-header-toc\\" class=\\"vector-dropdown mw-portlet mw-portlet-sticky-header-toc vector-sticky-header-toc\\">
|
|
<input type=\\"checkbox\\" id=\\"vector-sticky-header-toc-checkbox\\" role=\\"button\\" aria-haspopup=\\"true\\" data-event-name=\\"ui.dropdown-vector-sticky-header-toc\\" class=\\"vector-dropdown-checkbox\\" aria-label=\\"\\" tabindex=\\"-1\\">
|
|
<label id=\\"vector-sticky-header-toc-label\\" for=\\"vector-sticky-header-toc-checkbox\\" class=\\"vector-dropdown-label cdx-button cdx-button--weight-quiet cdx-button--icon-only\\" aria-hidden=\\"true\\" tabindex=\\"-1\\"><span class=\\"vector-dropdown-label-text\\"></span>
|
|
</label>
|
|
<div class=\\"vector-dropdown-content\\">
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div class=\\"vector-sticky-header-context-bar-primary\\" aria-hidden=\\"true\\"></div>
|
|
</div>
|
|
</div>
|
|
<div class=\\"vector-sticky-header-end\\" aria-hidden=\\"true\\">
|
|
<div class=\\"vector-sticky-header-icons\\">
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-talk-sticky-header\\" data-event-name=\\"talk-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-speechBubbles mw-ui-icon-wikimedia-speechBubbles\\"></span>
|
|
|
|
<span></span>
|
|
</a>
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-history-sticky-header\\" data-event-name=\\"history-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-history mw-ui-icon-wikimedia-history\\"></span>
|
|
|
|
<span></span>
|
|
</a>
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon mw-watchlink\\" id=\\"ca-watchstar-sticky-header\\" data-event-name=\\"watch-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-star mw-ui-icon-wikimedia-star\\"></span>
|
|
|
|
<span></span>
|
|
</a>
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-ve-edit-sticky-header\\" data-event-name=\\"ve-edit-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-edit mw-ui-icon-wikimedia-edit\\"></span>
|
|
|
|
<span></span>
|
|
</a>
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-edit-sticky-header\\" data-event-name=\\"wikitext-edit-sticky-header\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-wikiText mw-ui-icon-wikimedia-wikiText\\"></span>
|
|
|
|
<span></span>
|
|
</a>
|
|
<a href=\\"#\\" class=\\"cdx-button cdx-button--weight-quiet cdx-button--icon-only sticky-header-icon\\" id=\\"ca-viewsource-sticky-header\\" data-event-name=\\"editLock\\" tabindex=\\"-1\\"><span class=\\"vector-icon mw-ui-icon-star mw-ui-icon-wikimedia-star\\"></span>
|
|
|
|
<span></span>
|
|
</a>
|
|
</div>
|
|
<div class=\\"vector-sticky-header-buttons\\">
|
|
<button class=\\"cdx-button cdx-button--weight-quiet mw-interlanguage-selector\\" id=\\"p-lang-btn-sticky-header\\" data-event-name=\\"ui.dropdown-p-lang-btn-sticky-header\\" tabindex=\\"-1\\"><span>0 languages</span>
|
|
</button>
|
|
</div>
|
|
<div class=\\"vector-sticky-header-icon-end\\">
|
|
<div class=\\"vector-user-links\\">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
"
|
|
`;
|