fix icon alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
4d0a44995b
commit
f378a1c7f9
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user