Skip to content

Commit

Permalink
fix(federatedfilesharing): Add aria label to include the X in `X (f…
Browse files Browse the repository at this point in the history
…ormerly Twitter)` button.

Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Oct 7, 2024
1 parent cd4eba1 commit 4342a44
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
<img class="social-button__icon social-button__icon--bright" :src="urlFacebookIcon">
</template>
</NcButton>
<NcButton @click="goTo(shareXUrl)">
<NcButton :aria-label="t('federatedfilesharing', 'X (formerly Twitter)')"
@click="goTo(shareXUrl)">
{{ t('federatedfilesharing', 'formerly Twitter') }}
<template #icon>
<img class="social-button__icon" :src="urlXIcon">
Expand Down

0 comments on commit 4342a44

Please sign in to comment.