From 705120f854df3a4a705a634acd193d6b63d63086 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Fri, 13 Dec 2024 07:47:46 -0600 Subject: [PATCH] Add a visually hidden span with the aria label for the dropdown. --- macros/parsers/parserPopUp.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macros/parsers/parserPopUp.pl b/macros/parsers/parserPopUp.pl index ad194a216..22dc607ee 100644 --- a/macros/parsers/parserPopUp.pl +++ b/macros/parsers/parserPopUp.pl @@ -461,7 +461,8 @@ sub MENU { data_feedback_insert_method => 'append_content', join( '', - main::tag('input', type => 'hidden', name => $name, value => $answer_value), + main::tag('input', type => 'hidden', name => $name, value => $answer_value), + main::tag('span', class => 'visually-hidden', $aria_label), main::tag( 'button', class => 'btn dropdown-toggle text-nowrap ',