summaryrefslogtreecommitdiff
path: root/app/views/shared/_delete_label_modal.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_delete_label_modal.html.haml')
-rw-r--r--app/views/shared/_delete_label_modal.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/shared/_delete_label_modal.html.haml b/app/views/shared/_delete_label_modal.html.haml
index 01effefc34d..b96380923ac 100644
--- a/app/views/shared/_delete_label_modal.html.haml
+++ b/app/views/shared/_delete_label_modal.html.haml
@@ -2,8 +2,9 @@
.modal-dialog
.modal-content
.modal-header
- %button.close{ data: {dismiss: 'modal' } } ×
%h3.page-title Delete #{render_colored_label(label, tooltip: false)} ?
+ %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
+ %span{ "aria-hidden": true } ×
.modal-body
%p