mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add aria-hidden to blurhash canvases
This commit is contained in:
parent
5d8b527b92
commit
b10271d23d
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ worker.addEventListener(
|
||||||
|
|
||||||
function drawBlurhash(target, pixels, width, height) {
|
function drawBlurhash(target, pixels, width, height) {
|
||||||
const canvas = document.createElement('canvas');
|
const canvas = document.createElement('canvas');
|
||||||
|
canvas.setAttribute('aria-hidden', 'true');
|
||||||
canvas.width = width;
|
canvas.width = width;
|
||||||
canvas.height = height;
|
canvas.height = height;
|
||||||
const ctx = canvas.getContext('2d');
|
const ctx = canvas.getContext('2d');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue