Commit dadfa240 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'improve-accessibility-of-admin-settings-page' into 'master'

Improve accessibility of Admin application settings page

See merge request gitlab-org/gitlab!84651
parents d5cb3caa de4866d6
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
= f.number_field :notes_create_limit, class: 'form-control gl-form-input' = f.number_field :notes_create_limit, class: 'form-control gl-form-input'
.form-group .form-group
= f.label :notes_create_limit_allowlist, _('Users to exclude from the rate limit'), class: 'label-bold' = f.label :notes_create_limit_allowlist, _('Users to exclude from the rate limit'), class: 'label-bold'
= f.text_area :notes_create_limit_allowlist_raw, placeholder: 'username1, username2', class: 'form-control gl-form-input', rows: 5 = f.text_area :notes_create_limit_allowlist_raw, class: 'form-control gl-form-input', rows: 5, aria: { describedBy: 'note-create-limits-allowlist-field-description' }
.form-text.text-muted .form-text.text-muted{ id: 'note-create-limits-allowlist-field-description' }
= _('List of users allowed to exceed the rate limit.') = _('List of users allowed to exceed the rate limit.')
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
= f.number_field :users_get_by_id_limit, class: 'form-control gl-form-input' = f.number_field :users_get_by_id_limit, class: 'form-control gl-form-input'
.form-group .form-group
= f.label :users_get_by_id_limit_allowlist_raw, _('Users to exclude from the rate limit'), class: 'label-bold' = f.label :users_get_by_id_limit_allowlist_raw, _('Users to exclude from the rate limit'), class: 'label-bold'
= f.text_area :users_get_by_id_limit_allowlist_raw, placeholder: 'username1, username2', class: 'form-control gl-form-input', rows: 5 = f.text_area :users_get_by_id_limit_allowlist_raw, class: 'form-control gl-form-input', rows: 5, aria: { describedBy: 'users-api-limit-users-allowlist-field-description' }
.form-text.text-muted .form-text.text-muted{ id: 'users-api-limit-users-allowlist-field-description' }
= _('List of users allowed to exceed the rate limit.') = _('List of users allowed to exceed the rate limit.')
= f.submit _('Save changes'), class: "gl-button btn btn-confirm", data: { qa_selector: 'save_changes_button' } = f.submit _('Save changes'), class: "gl-button btn btn-confirm", data: { qa_selector: 'save_changes_button' }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment