mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
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:
parent
f07aac301c
commit
a7f40d708e
5 changed files with 6 additions and 9 deletions
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"smile": "meowbalt, cobalt's black and white cat mascot, smiling and loafing."
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"cobalt": "cobalt"
|
||||
"cobalt": "cobalt",
|
||||
"meowbalt": "meowbalt"
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"smile": "мяубальт, чёрно-белый маскот кобальта. батонится, сложа лапы под себя, и улыбается."
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"cobalt": "кобальт"
|
||||
"cobalt": "кобальт",
|
||||
"meowbalt": "мяубальт"
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue