Browse Source

Add a11y tags to the modal (#22549)

Closes #22547
closed-social-glitch-2
Nikita Karamov 1 year ago
committed by GitHub
parent
commit
70b3207e33
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/layouts/modal.html.haml

+ 1
- 1
app/views/layouts/modal.html.haml View File

@ -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

Loading…
Cancel
Save