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.
This commit is contained in:
@@ -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") %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user