diff --git a/app/views/modal/_ask.html.haml b/app/views/modal/_ask.html.haml index 9e1fcbc1..badb7bc0 100644 --- a/app/views/modal/_ask.html.haml +++ b/app/views/modal/_ask.html.haml @@ -4,7 +4,6 @@ .modal-header %h5.modal-title#modal-ask-followers-label= t(".title") %button.btn-close{ data: { dismiss: :modal }, type: :button } - %span{ aria: { hidden: true } } × %span.visually-hidden= t("voc.close") .modal-body .form-group.has-feedback diff --git a/app/views/modal/_ban.html.haml b/app/views/modal/_ban.html.haml index b598b316..39145b1d 100644 --- a/app/views/modal/_ban.html.haml +++ b/app/views/modal/_ban.html.haml @@ -6,7 +6,6 @@ %h5.modal-title#modal-ban-label = t '.title' %button.btn-close{ data: { dismiss: :modal }, type: :button } - %span{ aria: { hidden: true } } × %span.visually-hidden= t("voc.close") = bootstrap_form_tag(url: '/mod/ban', html: { method: :post, novalidate: :novalidate }) do |f| = f.hidden_field :user, value: user.screen_name diff --git a/app/views/modal/_comment_smiles.html.haml b/app/views/modal/_comment_smiles.html.haml index af18b5de..69b14037 100644 --- a/app/views/modal/_comment_smiles.html.haml +++ b/app/views/modal/_comment_smiles.html.haml @@ -4,7 +4,6 @@ .modal-header %h5.modal-title#modal-commentsmile-label= t(".title") %button.btn-close{ data: { dismiss: :modal }, type: :button } - %span{ aria: { hidden: true } } × %span.visually-hidden Close .modal-body - if comment.smiles.all.count.zero? diff --git a/app/views/modal/_list.html.haml b/app/views/modal/_list.html.haml index 6568d98d..05ae2499 100644 --- a/app/views/modal/_list.html.haml +++ b/app/views/modal/_list.html.haml @@ -4,7 +4,6 @@ .modal-header %h5.modal-title#modal-list-memberships-label= t(".title") %button.btn-close{ data: { dismiss: :modal }, type: :button } - %span{ aria: { hidden: true } } × %span.visually-hidden= t("voc.close") %div{ role: :tabpanel } %ul.nav.nav-tabs.mt-1{ role: :tablist } diff --git a/app/views/modal/_password.html.haml b/app/views/modal/_password.html.haml index 720fc582..0b107e1d 100644 --- a/app/views/modal/_password.html.haml +++ b/app/views/modal/_password.html.haml @@ -4,7 +4,6 @@ .modal-header %h5.modal-title#modal-passwd-label= t(".title") %button.btn-close{ data: { dismiss: :modal }, type: :button } - %span{ aria: { hidden: true } } × %span.visually-hidden= t("voc.close") .modal-body = f.password_field :current_password, autocomplete: "current-password" diff --git a/app/views/modal/_privileges.html.haml b/app/views/modal/_privileges.html.haml index 7dba5684..32a952f5 100644 --- a/app/views/modal/_privileges.html.haml +++ b/app/views/modal/_privileges.html.haml @@ -5,7 +5,6 @@ %h5.modal-title#modal-privileges-label = t(".title", user: user.screen_name) %button.btn-close{ data: { dismiss: :modal }, type: :button } - %span{ aria: { hidden: true } } × %span.visually-hidden= t("voc.close") %ul.list-group - if current_user.has_cached_role?(:administrator)