From df4fc627e85e6a4a7631400fe5415078a106abec Mon Sep 17 00:00:00 2001 From: Bryce Willey Date: Mon, 18 Dec 2023 08:33:07 -0500 Subject: [PATCH 1/2] Remove redundant alt-text on logos Fix #795 --- docassemble/AssemblyLine/data/questions/al_visual.yml | 4 ++-- docassemble/AssemblyLine/data/questions/interview_list.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docassemble/AssemblyLine/data/questions/al_visual.yml b/docassemble/AssemblyLine/data/questions/al_visual.yml index 6b96e8f3..79838f7f 100644 --- a/docassemble/AssemblyLine/data/questions/al_visual.yml +++ b/docassemble/AssemblyLine/data/questions/al_visual.yml @@ -1,9 +1,9 @@ --- objects: - - al_logo: DAStaticFile.using(filename="ma_logo.png", alt_text="Assembly Line Logo") + - al_logo: DAStaticFile.using(filename="ma_logo.png", alt_text="") --- code: | - al_logo.alt_text = "Home - Assembly Line" + al_logo.alt_text = "" --- default screen parts: title: | diff --git a/docassemble/AssemblyLine/data/questions/interview_list.yml b/docassemble/AssemblyLine/data/questions/interview_list.yml index f84039c1..1c6c7ef1 100644 --- a/docassemble/AssemblyLine/data/questions/interview_list.yml +++ b/docassemble/AssemblyLine/data/questions/interview_list.yml @@ -123,10 +123,10 @@ modules: - docassemble.ALToolbox.misc --- objects: - - al_logo: DAStaticFile.using(filename="ma_logo.png", alt_text="Logo") + - al_logo: DAStaticFile.using(filename="ma_logo.png", alt_text="") --- code: | - al_logo.alt_text = "Logo" # Patch for old sessions + al_logo.alt_text = "" # Patch for old sessions --- # This block is a placeholder and will be replaced by the definition below sections: From 40654f211dd2b1545db57b3b8196cd82715b7151 Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Sat, 23 Dec 2023 09:25:56 -0500 Subject: [PATCH 2/2] Update docassemble/AssemblyLine/data/questions/al_visual.yml Just wanted to help others understand this choice in the future. --- docassemble/AssemblyLine/data/questions/al_visual.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docassemble/AssemblyLine/data/questions/al_visual.yml b/docassemble/AssemblyLine/data/questions/al_visual.yml index 79838f7f..0e38403f 100644 --- a/docassemble/AssemblyLine/data/questions/al_visual.yml +++ b/docassemble/AssemblyLine/data/questions/al_visual.yml @@ -3,7 +3,7 @@ objects: - al_logo: DAStaticFile.using(filename="ma_logo.png", alt_text="") --- code: | - al_logo.alt_text = "" + al_logo.alt_text = "" # Per accessibility recommendations, best to leave alt text off a logo --- default screen parts: title: |