summaryrefslogtreecommitdiff
path: root/app/views/help
diff options
context:
space:
mode:
authorsamdbeckham <sbeckham@gitlab.com>2018-06-01 15:01:37 +0100
committersamdbeckham <sbeckham@gitlab.com>2018-06-01 15:01:37 +0100
commit4963303fae5dbb5580c101db2c16555f36d07c3b (patch)
treebec149b3adf793ca3633214cb9505ba9febfece5 /app/views/help
parent72702275373d466f0f55c925e05c34bba1326761 (diff)
downloadgitlab-ce-4963303fae5dbb5580c101db2c16555f36d07c3b.tar.gz
Updates a load of modal headers to use better markup
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/_shortcuts.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml
index 9a3a03a7671..77fe3939126 100644
--- a/app/views/help/_shortcuts.html.haml
+++ b/app/views/help/_shortcuts.html.haml
@@ -2,11 +2,12 @@
.modal-dialog.modal-lg
.modal-content
.modal-header
- %a.close{ href: "#", "data-dismiss" => "modal" } ×
%h4
Keyboard Shortcuts
%small
= link_to '(Show all)', '#', class: 'js-more-help-button'
+ %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
+ %span{ "aria-hidden": true } &times;
.modal-body
.row
.col-lg-4