From 7ecb393deb3e44f8abbc868285849063cfdf7505 Mon Sep 17 00:00:00 2001 From: Carla Duarte Date: Tue, 2 Mar 2021 11:36:32 -0500 Subject: [PATCH] AA-510: a11y fix for learner dashboard enterprise link --- openedx/features/enterprise_support/api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openedx/features/enterprise_support/api.py b/openedx/features/enterprise_support/api.py index 815b2a767b..18a4b8df60 100644 --- a/openedx/features/enterprise_support/api.py +++ b/openedx/features/enterprise_support/api.py @@ -815,7 +815,8 @@ def get_enterprise_learner_portal_enabled_message(request): learner_portal_url = settings.ENTERPRISE_LEARNER_PORTAL_BASE_URL + '/' + enterprise_customer['slug'] return Text(_( "Your organization {bold_start}{enterprise_customer_name}{bold_end} uses a custom dashboard for learning. " - "{link_start}Click here{link_end} to continue in that experience." + "{link_start}Click here {screen_reader_start}for your {enterprise_customer_name} dashboard," + "{screen_reader_end}{link_end} to continue in that experience." )).format( enterprise_customer_name=enterprise_customer['name'], link_start=HTML("").format( @@ -824,6 +825,8 @@ def get_enterprise_learner_portal_enabled_message(request): link_end=HTML(""), bold_start=HTML(""), bold_end=HTML(""), + screen_reader_start=HTML(""), + screen_reader_end=HTML(""), ) else: return None