Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove tabindex and use natural tab flow

Henriette Dargee774d2800abd
diff --git a/app/views/account/_login.html.erb b/app/views/account/_login.html.erb
index c8dfefb7575..ec35719e642 100644
--- a/app/views/account/_login.html.erb
+++ b/app/views/account/_login.html.erb
@@ -38,7 +38,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field -required">
<%= styled_label_tag "username-pulldown", User.human_attribute_name(:login) %>
<div class="form--field-container">
- <%= styled_text_field_tag "username", nil, id: "username-pulldown", tabindex: 1, autocapitalize: "none" %>
+ <%= styled_text_field_tag "username", nil, id: "username-pulldown", autocapitalize: "none" %>
</div>
<div class="form--field-extra-actions">
<% if Setting::Autologin.enabled? %>
@@ -57,7 +57,7 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field -required">
<%= styled_label_tag "password-pulldown", User.human_attribute_name(:password) %>
<div class="form--field-container">
- <%= styled_password_field_tag "password", nil, id: "password-pulldown", tabindex: 1 %>
+ <%= styled_password_field_tag "password", nil, id: "password-pulldown" %>
</div>
<div class="form--field-extra-actions">
<% if Setting.lost_password? %>