From e0472a7a154362c1d167feb95c2d100f02312bcb Mon Sep 17 00:00:00 2001 From: attiyaishaque <atiya.ishaq@arbisoft.com> Date: Wed, 18 Jul 2018 23:04:11 +0500 Subject: [PATCH] Fix screen reader issue on profile page. --- lms/static/sass/features/_learner-profile.scss | 1 + .../templates/learner_profile/learner_profile.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/features/_learner-profile.scss b/lms/static/sass/features/_learner-profile.scss index 48a16429b72..5c5732f895d 100644 --- a/lms/static/sass/features/_learner-profile.scss +++ b/lms/static/sass/features/_learner-profile.scss @@ -371,6 +371,7 @@ @extend %t-ultrastrong; display: inline-block; + color: #222; } .subheader { diff --git a/openedx/features/learner_profile/templates/learner_profile/learner_profile.html b/openedx/features/learner_profile/templates/learner_profile/learner_profile.html index e53f7583072..30d21a9c5a9 100644 --- a/openedx/features/learner_profile/templates/learner_profile/learner_profile.html +++ b/openedx/features/learner_profile/templates/learner_profile/learner_profile.html @@ -36,7 +36,7 @@ from openedx.core.djangolib.markup import HTML </div> % if own_profile: <div class="profile-header"> - <div class="header">${_("My Profile")}</div> + <h2 class="header">${_("My Profile")}</h2> <div class="subheader"> ${_('Build out your profile to personalize your identity on {platform_name}.').format( platform_name=platform_name, -- GitLab