mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-07 20:04:09 +02:00
Set cursor style and a11y label on close button
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
8e383835b9
commit
72205be3dc
|
|
@ -124,6 +124,8 @@ search backend.
|
||||||
.css({ fontWeight: "bold" }))
|
.css({ fontWeight: "bold" }))
|
||||||
.append($("<span>")
|
.append($("<span>")
|
||||||
.addClass("td-offline-search-results__close-button")
|
.addClass("td-offline-search-results__close-button")
|
||||||
|
.attr("role", "button")
|
||||||
|
.attr("aria-label", "Close")
|
||||||
.on("click", () => {
|
.on("click", () => {
|
||||||
$targetSearchInput.val("");
|
$targetSearchInput.val("");
|
||||||
$targetSearchInput.trigger("change");
|
$targetSearchInput.trigger("change");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue