From 44b4e9f809e8bec41b76132ee9fc912f69a9db29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20R=C3=A5dberg?= Date: Mon, 18 Sep 2023 13:58:02 +0200 Subject: [PATCH] update aria --- src/Components/PlayerMenu/Settings.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/PlayerMenu/Settings.tsx b/src/Components/PlayerMenu/Settings.tsx index 8e6f71c..bc575c9 100644 --- a/src/Components/PlayerMenu/Settings.tsx +++ b/src/Components/PlayerMenu/Settings.tsx @@ -328,8 +328,8 @@ const Settings = ({ checkedIcon={} onChange={toggleFullscreen} role="checkbox" - aria-checked={player.settings.useExperience} - aria-label="Experience" + aria-checked={document.fullscreenElement ? true : false} + aria-label="Fullscreen" />