mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
remove hardcoded English alt text, hide image from screenreaders
This commit is contained in:
parent
a35299d390
commit
3be2a12e3e
@ -1739,7 +1739,10 @@ define([
|
||||
tag: 'div',
|
||||
attributes: {'class': 'cp-user-menu-logo'},
|
||||
content: h('span', [
|
||||
h('img', {src: '/customize/CryptPad_logo_grey.svg',alt: 'CryptPad logo',}), // XXX hardcoded alt text?
|
||||
h('img', {
|
||||
src: '/customize/CryptPad_logo_grey.svg',
|
||||
"aria-hidden": true,
|
||||
}),
|
||||
h('span.cp-user-menu-logo-text', "CryptPad")
|
||||
]),
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user