From a2b4dcd985358734dba563df7b9924abaf962e83 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 16 Jan 2023 15:24:24 -0800 Subject: [PATCH] fix delete button 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 d1467c7..1f05d28 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -152,7 +152,7 @@ function addDiskLine (fieldset, busPrefix, busName, device, storage, storageOpti deleteDiv.classList.add("last-item"); let deleteBtn = document.createElement("img"); deleteBtn.src = "images/actions/delete.svg"; - deleteBtn.alt = `Config disk ${labelText}`; + deleteBtn.alt = `Delete disk ${busName} ${device}`; deleteBtn.classList.add("clickable"); deleteDiv.append(deleteBtn); field.append(deleteDiv);