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 4d0a44995b
commit f378a1c7f9

View File

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