From 5b3fb138a584649782ea92df262d0a78c5386f4d Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 1 Apr 2024 00:50:46 +0200 Subject: improve accessability here and there --- client-web/source/preferences/ui.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client-web/source/preferences/ui.ts') diff --git a/client-web/source/preferences/ui.ts b/client-web/source/preferences/ui.ts index 0259b2b..44b3e4e 100644 --- a/client-web/source/preferences/ui.ts +++ b/client-web/source/preferences/ui.ts @@ -94,7 +94,7 @@ export function ui_preferences(): HTMLElement { const table = document.createElement("table") table.append(...rows) - return e("div", { class: "preferences" }, + return e("div", { class: "preferences", role: "dialog", aria_label: "settings" }, e("h2", {}, "Settings"), notification_perm, e("br", {}), table, e("br", {}), -- cgit v1.2.3-70-g09d2