fix icon alt text

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-01-16 15:10:24 -08:00
parent fd8025ed32
commit 5041f7ea1c

View File

@ -109,7 +109,7 @@ function addDiskLine (fieldset, iconHref, bus, device, storage, storageOptions,
let icon = document.createElement("img"); let icon = document.createElement("img");
icon.src = iconHref; icon.src = iconHref;
icon.alt = labelText; icon.alt = `${bus} ${device}`;
field.append(icon); field.append(icon);
let busLabel = document.createElement("label"); let busLabel = document.createElement("label");