diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-09-29 20:28:27 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-09-29 20:28:27 +0200 |
commit | f7e6da9a8eac68cb0aa0fc9a593d3fb05e41fb89 (patch) | |
tree | 170414aa101daab6a2204dbbc854ffecd50f4ddb /core | |
parent | 61f10b27bcbb9f01209946f33be53b5b3f42fdb9 (diff) | |
download | nextcloud-server-f7e6da9a8eac68cb0aa0fc9a593d3fb05e41fb89.tar.gz nextcloud-server-f7e6da9a8eac68cb0aa0fc9a593d3fb05e41fb89.zip |
Add empty alt text to avatars as they are decorative next to usernames
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/jquery.avatar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/jquery.avatar.js b/core/js/jquery.avatar.js index a320496e250..54518c75cc7 100644 --- a/core/js/jquery.avatar.js +++ b/core/js/jquery.avatar.js @@ -126,9 +126,9 @@ } else { $div.show(); if (ie8fix === true) { - $div.html('<img width="' + size + '" height="' + size + '" src="'+url+'#'+Math.floor(Math.random()*1000)+'">'); + $div.html('<img width="' + size + '" height="' + size + '" src="'+url+'#'+Math.floor(Math.random()*1000)+'" alt="">'); } else { - $div.html('<img width="' + size + '" height="' + size + '" src="'+url+'">'); + $div.html('<img width="' + size + '" height="' + size + '" src="'+url+'" alt="">'); } } if(typeof callback === 'function') { |