Issue #2794289 by GoZ, droplet, chiranjeeb2410: add `type=button` to toolbar tab buttons

8.4.x
Chris McCafferty 2017-03-06 20:13:44 -05:00
parent c1ec091625
commit 8cc93d064b
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ function contextual_toolbar() {
'#attributes' => [
'class' => ['toolbar-icon', 'toolbar-icon-edit'],
'aria-pressed' => 'false',
'type' => 'button',
],
],
'#wrapper_attributes' => [

View File

@ -54,6 +54,7 @@ function tour_toolbar() {
'#attributes' => [
'class' => ['toolbar-icon', 'toolbar-icon-help'],
'aria-pressed' => 'false',
'type' => 'button',
],
],
'#wrapper_attributes' => [