diff --git a/modules/custom/az_core/src/Plugin/Block/MobileNavBlock.php b/modules/custom/az_core/src/Plugin/Block/MobileNavBlock.php index ad4e3a69e1..f4d54f7067 100644 --- a/modules/custom/az_core/src/Plugin/Block/MobileNavBlock.php +++ b/modules/custom/az_core/src/Plugin/Block/MobileNavBlock.php @@ -298,7 +298,6 @@ public function build() { ], ), '#attributes' => [ - 'type' => 'button', 'class' => [ 'use-ajax', 'ps-0', @@ -343,7 +342,6 @@ public function build() { $build['az_mobile_nav_menu']['heading_div']['heading'] = [ '#type' => 'link', '#attributes' => [ - 'role' => 'button', 'class' => [ 'px-3', 'text-blue', @@ -382,7 +380,6 @@ public function build() { $pageLink = [ '#type' => 'link', '#attributes' => [ - 'role' => 'button', 'class' => [ 'nav-link', $isMainMenu ? 'ms-2' : 'ms-3', @@ -407,7 +404,6 @@ public function build() { ], ), '#attributes' => [ - 'type' => 'button', 'class' => [ 'use-ajax', 'btn', diff --git a/modules/custom/az_select_menu/src/Plugin/Block/AzSelectMenu.php b/modules/custom/az_select_menu/src/Plugin/Block/AzSelectMenu.php index f7a00e4ceb..37c5f926b9 100644 --- a/modules/custom/az_select_menu/src/Plugin/Block/AzSelectMenu.php +++ b/modules/custom/az_select_menu/src/Plugin/Block/AzSelectMenu.php @@ -161,9 +161,7 @@ public function build() { 'disabled', ], 'aria-disabled' => 'true', - 'role' => 'button', 'type' => 'button', - 'tabindex' => '0', ]); $build['#button_attributes'] = $button_attributes; diff --git a/themes/custom/az_barrio/templates/layout/page.html.twig b/themes/custom/az_barrio/templates/layout/page.html.twig index 7cacdeb524..db522dfc1a 100644 --- a/themes/custom/az_barrio/templates/layout/page.html.twig +++ b/themes/custom/az_barrio/templates/layout/page.html.twig @@ -104,14 +104,14 @@ {% if page.navigation_offcanvas %}