summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Karamov <me@kytta.dev>2023-01-05 13:35:47 +0100
committerGitHub <noreply@github.com>2023-01-05 13:35:47 +0100
commit70b3207e33743290e55b67a4b88cddbed36c1903 (patch)
treedc2b414f61d6d118ddc23a39dad739c41bfdf90d
parentb8ad446f77479010997a4a3c52fa7b47fb403eed (diff)
Add a11y tags to the modal (#22549)
Closes #22547
-rw-r--r--app/views/layouts/modal.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/modal.html.haml b/app/views/layouts/modal.html.haml
index c0ea211ff44..bbdae602f3b 100644
--- a/app/views/layouts/modal.html.haml
+++ b/app/views/layouts/modal.html.haml
@@ -8,7 +8,7 @@
.name
= t 'users.signed_in_as'
%span.username @#{current_account.local_username_and_domain}
- = link_to destroy_user_session_path(continue: true), method: :delete, class: 'logout-link icon-button' do
+ = link_to destroy_user_session_path(continue: true), method: :delete, class: 'logout-link icon-button', title: t('applications.logout'), 'aria-label': t('applications.logout') do
= fa_icon 'sign-out'
.container-alt= yield