fix delete button alt text

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-01-16 15:24:24 -08:00
parent 14ee712d3c
commit a2b4dcd985

View File

@ -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);