add alt to img

This commit is contained in:
daria 2025-05-22 15:25:33 -07:00
parent 37f30fea8f
commit 4ee6ca5a09
No known key found for this signature in database
GPG Key ID: 78018F06E7C6A3CF

View File

@ -2649,7 +2649,7 @@ define([
var $creationContainer = $('<div>', { id: 'cp-creation-container' }).appendTo($body);
var urlArgs = (Config.requireConf && Config.requireConf.urlArgs) || '';
var logo = h('img', { src: '/customize/CryptPad_logo.svg?' + urlArgs });
var logo = h('img', { src: '/customize/CryptPad_logo.svg?' + urlArgs, alt:'', 'aria-hidden': 'true' });
var fill1 = h('div.cp-creation-fill.cp-creation-logo',{ role: 'presentation' }, logo);
var fill2 = h('div.cp-creation-fill');
var $creation = $('<div>', { id: 'cp-creation' });