fix: move tabindex attrs to button from within

We move the `tabindex` attributes to the button element directly from
elements contained within the button element – this is to satisfy the
HTML linter.

Changelog-Entry: Move tabindex attributes to button elements from
contained elements.
Change-Type: patch
This commit is contained in:
Benedict Aas 2018-02-07 16:06:04 +00:00
parent 1895601198
commit 76a05d2dc9

View File

@ -13,22 +13,22 @@
<header class="section-header" ng-controller="HeaderController as header"> <header class="section-header" ng-controller="HeaderController as header">
<button class="button button-link" <button class="button button-link"
ng-click="header.openHelpPage()" ng-click="header.openHelpPage()"
tabindex="-1"> tabindex="4">
<span tabindex="4" class="glyphicon glyphicon-question-sign"></span> <span class="glyphicon glyphicon-question-sign"></span>
</button> </button>
<button class="button button-link" <button class="button button-link"
ui-sref="settings" ui-sref="settings"
hide-if-state="settings" hide-if-state="settings"
tabindex="-1"> tabindex="5">
<span tabindex="5" class="glyphicon glyphicon-cog"></span> <span class="glyphicon glyphicon-cog"></span>
</button> </button>
<button class="button button-link" <button class="button button-link"
tabindex="-1" tabindex="5"
ui-sref="main" ui-sref="main"
show-if-state="settings"> show-if-state="settings">
<span tabindex="5" class="glyphicon glyphicon-chevron-left"></span> Back <span class="glyphicon glyphicon-chevron-left"></span> Back
</button> </button>
</header> </header>