web/meowbalt: hide meowbalt from screen readers

presence of an image of a cat on the screen doesn't change anything about the ui for vision impaired people. it's unnecessary and potentially annoying to have the description of it read out loud on every screen it's used.
This commit is contained in:
wukko 2024-07-21 13:59:27 +06:00
parent f07aac301c
commit a7f40d708e
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
5 changed files with 6 additions and 9 deletions

View file

@ -1,3 +0,0 @@
{
"smile": "meowbalt, cobalt's black and white cat mascot, smiling and loafing."
}

View file

@ -1,3 +1,4 @@
{
"cobalt": "cobalt"
"cobalt": "cobalt",
"meowbalt": "meowbalt"
}

View file

@ -1,3 +0,0 @@
{
"smile": "мяубальт, чёрно-белый маскот кобальта. батонится, сложа лапы под себя, и улыбается."
}

View file

@ -1,3 +1,4 @@
{
"cobalt": "кобальт"
"cobalt": "кобальт",
"meowbalt": "мяубальт"
}

View file

@ -10,7 +10,8 @@
class="meowbalt {emotion}"
src="/meowbalt/{emotion}.png"
height="152"
alt={$t(`a11y.meowbalt.${emotion}`)}
alt={$t('general.meowbalt')}
aria-hidden="true"
/>
<style>