Skip to content

Commit 9277223

Browse files
committed
Merge branch '52353-keyboard-navigation-project-slug-is-not-focused-on-new-project-page' into 'master'
Resolve "Keyboard navigation: "Project slug" is not focused on "New project" page" Closes #52353 See merge request gitlab-org/gitlab-ce!22198
2 parents dbab210 + 7696128 commit 9277223

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

app/views/projects/_new_project_fields.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
.form-group.project-path.col-sm-6
3434
= f.label :path, class: 'label-bold' do
3535
%span= _("Project slug")
36-
= f.text_field :path, placeholder: "my-awesome-project", class: "form-control", tabindex: 2, required: true
36+
= f.text_field :path, placeholder: "my-awesome-project", class: "form-control", required: true
3737
- if current_user.can_create_group?
3838
.form-text.text-muted
3939
Want to house several dependent projects under the same namespace?
@@ -61,5 +61,5 @@
6161
.option-description
6262
Allows you to immediately clone this project’s repository. Skip this if you plan to push up an existing repository.
6363

64-
= f.submit 'Create project', class: "btn btn-success project-submit", tabindex: 4, data: { track_label: "#{track_label}", track_event: "click_button", track_property: "create_project", track_value: "" }
64+
= f.submit 'Create project', class: "btn btn-success project-submit", data: { track_label: "#{track_label}", track_event: "click_button", track_property: "create_project", track_value: "" }
6565
= link_to 'Cancel', dashboard_projects_path, class: 'btn btn-cancel', data: { track_label: "#{track_label}", track_event: "click_button", track_property: "cancel" }
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Focus project slug on tab navigation
3+
merge_request: 22198
4+
author:
5+
type: other

0 commit comments

Comments
 (0)