From 39d620539c1e27e6556ba4a3476b0f0d89a36cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 12 Oct 2024 19:13:45 +0200 Subject: [PATCH] Remove unused tabindex attribute In order for this attribute to be applied, due to the syntax of the `select` method, it should be in a separate hash. We're removing it instead of correctly applying it because we never use the `tabindex` attribute with a positive value, since it might break keyboard navigation. --- app/views/officing/booth/new.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/officing/booth/new.html.erb b/app/views/officing/booth/new.html.erb index 0b4cda988..afb1b090a 100644 --- a/app/views/officing/booth/new.html.erb +++ b/app/views/officing/booth/new.html.erb @@ -13,8 +13,7 @@ <%= f.select :id, @booths.map { |booth| [booth.location, booth.id] }, selected: @booths.first, - label: false, - tabindex: "1" %> + label: false %> <%= f.submit(t("devise_views.sessions.new.submit"), class: "button expanded") %>