Commit 9f49c293 authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch 'tz-fix-aria-hidden-errors' into 'master'

Fixed aria-hidden value

See merge request gitlab-org/gitlab!62686
parents 9ddb5b5d 611f8788
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
.modal-header .modal-header
%h3.page-title= _('Delete serverless domain?') %h3.page-title= _('Delete serverless domain?')
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body .modal-body
- if domain_attached - if domain_attached
......
#js-delete-user-modal #js-delete-user-modal
#js-modal-texts.hidden{ "hidden": true, "aria-hidden": true } #js-modal-texts.hidden{ "hidden": true, "aria-hidden": "true" }
%div{ data: { modal: "delete", %div{ data: { modal: "delete",
title: s_("AdminUsers|Delete User %{username}?"), title: s_("AdminUsers|Delete User %{username}?"),
action: s_('AdminUsers|Delete user'), action: s_('AdminUsers|Delete user'),
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%li %li
%button.js-shortcuts-modal-trigger{ type: "button" } %button.js-shortcuts-modal-trigger{ type: "button" }
= _("Keyboard shortcuts") = _("Keyboard shortcuts")
%span.text-secondary.float-right{ "aria-hidden": true }= '?'.html_safe %span.text-secondary.float-right{ "aria-hidden": "true" }= '?'.html_safe
%li.divider %li.divider
%li %li
= link_to _("Submit feedback"), "https://about.gitlab.com/submit-feedback" = link_to _("Submit feedback"), "https://about.gitlab.com/submit-feedback"
......
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
%h4.modal-title %h4.modal-title
= s_("Profiles|Position and size your new avatar") = s_("Profiles|Position and size your new avatar")
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _("Close") } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _("Close") }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body .modal-body
.profile-crop-image-container .profile-crop-image-container
%img.modal-profile-crop-image{ alt: s_("Profiles|Avatar cropper") } %img.modal-profile-crop-image{ alt: s_("Profiles|Avatar cropper") }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.modal-header .modal-header
%h3.modal-title Import projects from Bitbucket %h3.modal-title Import projects from Bitbucket
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body .modal-body
To enable importing projects from Bitbucket, To enable importing projects from Bitbucket,
- if current_user.admin? - if current_user.admin?
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.modal-header .modal-header
%h3.modal-title Import projects from GitLab.com %h3.modal-title Import projects from GitLab.com
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body .modal-body
To enable importing projects from GitLab.com, To enable importing projects from GitLab.com,
- if current_user.admin? - if current_user.admin?
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.modal-header .modal-header
%h3.page-title= _('Reduce this project’s visibility?') %h3.page-title= _('Reduce this project’s visibility?')
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true }= sprite_icon("close") %span{ "aria-hidden": "true" }= sprite_icon("close")
.modal-body .modal-body
%p %p
- if @project.group - if @project.group
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.modal-header .modal-header
%h3.page-title= _('Create New Directory') %h3.page-title= _('Create New Directory')
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body .modal-body
= form_tag project_create_dir_path(@project, @id), method: :post, remote: false, class: 'js-create-dir-form js-quick-submit js-requires-input' do = form_tag project_create_dir_path(@project, @id), method: :post, remote: false, class: 'js-create-dir-form js-quick-submit js-requires-input' do
.form-group.row .form-group.row
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.modal-header .modal-header
%h3.page-title Delete #{@blob.name} %h3.page-title Delete #{@blob.name}
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body .modal-body
= form_tag project_blob_path(@project, @id), method: :delete, class: 'js-delete-blob-form js-quick-submit js-requires-input' do = form_tag project_blob_path(@project, @id), method: :delete, class: 'js-delete-blob-form js-quick-submit js-requires-input' do
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.modal-header .modal-header
%h3.page-title= title %h3.page-title= title
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body .modal-body
= form_tag form_path, method: method, class: 'js-quick-submit js-upload-blob-form', data: { method: method } do = form_tag form_path, method: method, class: 'js-quick-submit js-upload-blob-form', data: { method: method } do
.dropzone .dropzone
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
%span.js-branch-name.ref-name>[branch name] %span.js-branch-name.ref-name>[branch name]
= s_("Branches|Delete protected branch '%{branch_name}'?").html_safe % { branch_name: title_branch_name } = s_("Branches|Delete protected branch '%{branch_name}'?").html_safe % { branch_name: title_branch_name }
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body .modal-body
%p %p
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.modal-header .modal-header
%h3.page-title= _('Fork project?') %h3.page-title= _('Fork project?')
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body.p-3 .modal-body.p-3
%p= _("You can’t %{tag_start}edit%{tag_end} files directly in this project. Fork this project and submit a merge request with your changes.") % { tag_start: '', tag_end: ''} %p= _("You can’t %{tag_start}edit%{tag_end} files directly in this project. Fork this project and submit a merge request with your changes.") % { tag_start: '', tag_end: ''}
.modal-footer .modal-footer
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.modal-header .modal-header
%h3.page-title= _('Confirmation required') %h3.page-title= _('Confirmation required')
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body .modal-body
%p.text-danger.js-confirm-text %p.text-danger.js-confirm-text
......
.form-group.row.js-template-warning.hidden.js-issuable-template-warning .form-group.row.js-template-warning.hidden.js-issuable-template-warning
.col-sm-12 .col-sm-12
.warning_message.mb-0{ role: 'alert' } .warning_message.mb-0{ role: 'alert' }
%btn.js-close-btn.js-dismiss-btn.close{ type: "button", "aria-hidden": true, "aria-label": _("Close") } %btn.js-close-btn.js-dismiss-btn.close{ type: "button", "aria-hidden": "true", "aria-label": _("Close") }
= sprite_icon("close") = sprite_icon("close")
%p %p
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.modal-header .modal-header
%h3.page-title= _('Enable Gitpod?') %h3.page-title= _('Enable Gitpod?')
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": "true" } ×
.modal-body.p-3 .modal-body.p-3
%p= (_("To use Gitpod you must first enable the feature in the integrations section of your %{user_prefs}.") % { user_prefs: link_to(_('user preferences'), profile_preferences_path(anchor: 'gitpod')) }).html_safe %p= (_("To use Gitpod you must first enable the feature in the integrations section of your %{user_prefs}.") % { user_prefs: link_to(_('user preferences'), profile_preferences_path(anchor: 'gitpod')) }).html_safe
.modal-footer .modal-footer
......
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