summaryrefslogtreecommitdiff
path: root/app/views/shared/_confirm_modal.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_confirm_modal.html.haml')
-rw-r--r--app/views/shared/_confirm_modal.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/shared/_confirm_modal.html.haml b/app/views/shared/_confirm_modal.html.haml
index 7c326d36d99..1dcf4369253 100644
--- a/app/views/shared/_confirm_modal.html.haml
+++ b/app/views/shared/_confirm_modal.html.haml
@@ -4,7 +4,8 @@
.modal-header
%h3.page-title
Confirmation required
- %a.close{ href: "#", "data-dismiss" => "modal" } ×
+ %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
+ %span{ "aria-hidden": true } ×
.modal-body
%p.text-danger.js-confirm-text