From fccc3584d842b32d6f88d7c2f972cccee5abb3d0 Mon Sep 17 00:00:00 2001 From: e218736 <147728997+e218736@users.noreply.github.com> Date: Thu, 29 Feb 2024 12:11:41 +0000 Subject: [PATCH 1/2] aria labels/aria hidden to input/output buttons --- src/web/html/index.html | 36 ++++++++++++++++---------------- src/web/waiters/OutputWaiter.mjs | 2 ++ 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/src/web/html/index.html b/src/web/html/index.html index 5c3c3263a3..4eab3f282e 100755 --- a/src/web/html/index.html +++ b/src/web/html/index.html @@ -223,22 +223,22 @@ Input - - add + + add - - folder_open + + folder_open - - input + + input - - delete + + delete - - view_compact + + view_compact @@ -280,17 +280,17 @@ archive - - save + + save - - content_copy + + content_copy - - open_in_browser + + open_in_browser - - fullscreen + + fullscreen diff --git a/src/web/waiters/OutputWaiter.mjs b/src/web/waiters/OutputWaiter.mjs index dae27f3e21..75142971b4 100755 --- a/src/web/waiters/OutputWaiter.mjs +++ b/src/web/waiters/OutputWaiter.mjs @@ -1415,10 +1415,12 @@ class OutputWaiter { this.app.ioSplitter.collapse(0); $(el).attr("data-original-title", "Restore output pane"); + $(el).attr("aria-label", "Restore output pane"); el.querySelector("i").innerHTML = "fullscreen_exit"; } else { document.body.classList.remove("output-maximised"); $(el).attr("data-original-title", "Maximise output pane"); + $(el).attr("aria-label", "Maximise output pane"); el.querySelector("i").innerHTML = "fullscreen"; this.app.initialiseSplitter(false); this.app.resetLayout(); From bf833a39fc9ca8848e65bbb3e70c0606e4101339 Mon Sep 17 00:00:00 2001 From: e218736 <147728997+e218736@users.noreply.github.com> Date: Thu, 29 Feb 2024 14:32:47 +0000 Subject: [PATCH 2/2] favourites button aria label --- src/web/html/index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/web/html/index.html b/src/web/html/index.html index 4eab3f282e..13c27d6401 100755 --- a/src/web/html/index.html +++ b/src/web/html/index.html @@ -142,8 +142,8 @@ - - star + + star @@ -181,14 +181,14 @@ Recipe - - save + + save - - folder + + folder - - delete + + delete