Commit 5f79d634 authored by alexpott's avatar alexpott

Issue #2548027 by nod_: Follow-up add back aria-label to toolbar tray

parent c6bd55b3
......@@ -31,11 +31,13 @@
{{ tab.link }}
{% spaceless %}
<div{{ tray.attributes }}>
<nav class="toolbar-lining clearfix" role="navigation">
{% if tray.label %}
{% if tray.label %}
<nav class="toolbar-lining clearfix" role="navigation" aria-label="{{ tray.label }}">
<h3 class="toolbar-tray-name visually-hidden">{{ tray.label }}</h3>
{% endif %}
{{ tray.links }}
{% else %}
<nav class="toolbar-lining clearfix" role="navigation">
{% endif %}
{{ tray.links }}
</nav>
</div>
{% endspaceless %}
......
......@@ -29,11 +29,13 @@
{{ tab.link }}
{% spaceless %}
<div{{ tray.attributes }}>
<nav class="toolbar-lining clearfix" role="navigation">
{% if tray.label %}
{% if tray.label %}
<nav class="toolbar-lining clearfix" role="navigation" aria-label="{{ tray.label }}">
<h3 class="toolbar-tray-name visually-hidden">{{ tray.label }}</h3>
{% endif %}
{{ tray.links }}
{% else %}
<nav class="toolbar-lining clearfix" role="navigation">
{% endif %}
{{ tray.links }}
</nav>
</div>
{% endspaceless %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment