From ac68f06d230fd589edb9b1d13af50836d554f23e Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 25 Dec 2022 13:53:26 +0100 Subject: optimize accessability (screen readers 'n stuff) --- client-web/source/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client-web/source/index.ts') diff --git a/client-web/source/index.ts b/client-web/source/index.ts index d2bd276..a853c58 100644 --- a/client-web/source/index.ts +++ b/client-web/source/index.ts @@ -6,7 +6,7 @@ /// import { init_serviceworker } from "./sw/init.ts"; -import { ediv, OVERLAYS } from "./helper.ts"; +import { esection, OVERLAYS } from "./helper.ts"; import { setup_keybinds } from "./keybinds.ts"; import { log, LOGGER_CONTAINER } from "./logger.ts" import { BottomMenu, MenuBr } from "./menu.ts"; @@ -15,7 +15,7 @@ import { SignalingConnection } from "./protocol/mod.ts"; import { Room } from "./room.ts" export const VERSION = "0.1.12" -export const ROOM_CONTAINER = ediv({ class: "room" }) +export const ROOM_CONTAINER = esection({ class: "room", aria_label: "user list" }) export const RTC_CONFIG: RTCConfiguration = { iceServers: [ -- cgit v1.2.3-70-g09d2