mediawiki-skins-Vector/includes/templates/ArticleToolbar.mustache
Jan Drewniak 98068d9598 Restore navigation landmarks in page toolbar
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
2022-10-03 10:39:39 -04:00

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>