Merge pull request #16589 from edx/clee/LEARNER-2891

Remove uneccessary aria labels in the student dashboard
This commit is contained in:
Christopher Lee
2017-11-21 12:52:31 -05:00
committed by GitHub
3 changed files with 7 additions and 9 deletions

View File

@@ -371,7 +371,8 @@ class TestCourseVerificationStatus(UrlResetMixin, ModuleStoreTestCase):
# Verify that the correct banner color is rendered
self.assertContains(
response,
"<article class=\"course {}\">".format(self.MODE_CLASSES[status])
"<div class=\"course {}\" aria-labelledby=\"course-title-{}\">".format(
self.MODE_CLASSES[status], self.course.id)
)
# Verify that the correct copy is rendered on the dashboard