Set cursor style and a11y label on close button

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
Johannes Marbach 2026-03-20 13:13:05 +01:00
parent 8e383835b9
commit 72205be3dc

View file

@ -124,6 +124,8 @@ search backend.
.css({ fontWeight: "bold" }))
.append($("<span>")
.addClass("td-offline-search-results__close-button")
.attr("role", "button")
.attr("aria-label", "Close")
.on("click", () => {
$targetSearchInput.val("");
$targetSearchInput.trigger("change");