summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorSam Rose <sam@gitlab.com>2017-05-10 13:36:15 -0400
committerSam Rose <sam@gitlab.com>2017-05-10 13:41:47 -0400
commitf4b6865aef48b6c328fd297b499b53f5d37260d9 (patch)
treeaa4e7450ffe42306193d92eae89741b4a444b196 /app/views
parentf6d82455687541802281eb3d52f4a058854e5db6 (diff)
downloadgitlab-ce-f4b6865aef48b6c328fd297b499b53f5d37260d9.tar.gz
Fix aria labels on custom notifications modal32094-custom-notifications-model-aria-labelledby-incorrect
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/notifications/_custom_notifications.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/shared/notifications/_custom_notifications.html.haml b/app/views/shared/notifications/_custom_notifications.html.haml
index 708adbc38f1..183ed34fba1 100644
--- a/app/views/shared/notifications/_custom_notifications.html.haml
+++ b/app/views/shared/notifications/_custom_notifications.html.haml
@@ -1,9 +1,9 @@
-.modal.fade{ tabindex: "-1", role: "dialog", id: notifications_menu_identifier("modal", notification_setting), aria: { labelledby: "custom-notifications-title" } }
+.modal.fade{ tabindex: "-1", role: "dialog", id: notifications_menu_identifier("modal", notification_setting), "aria-labelledby": "custom-notifications-title" }
.modal-dialog
.modal-content
.modal-header
- %button.close{ type: "button", data: { dismiss: "modal" }, aria: { label: "close" } }
- %span{ aria: { hidden: "true" } } ×
+ %button.close{ type: "button", "aria-label": "close", data: { dismiss: "modal" } }
+ %span{ "aria-hidden": "true" } } ×
%h4#custom-notifications-title.modal-title
Custom notification events