mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
98068d9598
Adds landmarks to the article toolbar - Namespace navigation - View navigation - More options navigation Removes the "tools" landmark and associated aria-label (and translation message). Makes the #left-navigation and #right-navigation flexbox to ensure the new <nav> elements, along with gadgets, align on one line. Moves the styles for these elements from screen.less to ArticleToolbar.less. Bug: T317440 Change-Id: Iceff337b0e250c1f368dbaea6cc41a977d8ee868
26 lines
623 B
Plaintext
26 lines
623 B
Plaintext
<div class="vector-article-toolbar">
|
|
<div class="mw-article-toolbar-container">
|
|
{{#data-portlets}}
|
|
<div id="left-navigation">
|
|
<nav aria-label="{{msg-namespaces}}">
|
|
{{#data-associated-pages}}{{>Menu}}{{/data-associated-pages}}
|
|
{{#data-variants}}{{>Menu}}{{/data-variants}}
|
|
</nav>
|
|
</div>
|
|
<div id="right-navigation" class="vector-collapsible">
|
|
{{#data-views}}
|
|
<nav aria-label="{{msg-views}}">
|
|
{{>Menu}}
|
|
</nav>
|
|
{{/data-views}}
|
|
|
|
{{#data-actions}}
|
|
<nav aria-label="{{msg-tooltip-p-cactions}}">
|
|
{{>Menu}}
|
|
</nav>
|
|
{{/data-actions}}
|
|
</div>
|
|
{{/data-portlets}}
|
|
</div>
|
|
</div>
|