From f378a1c7f98023287e086ae88246007477ff6a9a Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 16 Jan 2023 15:10:24 -0800 Subject: [PATCH] fix icon alt text Signed-off-by: Arthur Lu --- scripts/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.js b/scripts/config.js index fcc4523..cca8577 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -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");