diff --git a/common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py b/common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
index 1da51f7108..adaad82053 100644
--- a/common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
+++ b/common/test/acceptance/tests/lms/test_lms_instructor_dashboard.py
@@ -60,8 +60,8 @@ class LMSInstructorDashboardA11yTest(BaseInstructorDashboardTest):
def test_instructor_dashboard_a11y(self):
self.instructor_dashboard_page.a11y_audit.config.set_rules({
"ignore": [
+ 'checkboxgroup', # TODO: AC-552
'link-href', # TODO: AC-491
- 'data-table', # TODO: AC-491
]
})
self.instructor_dashboard_page.a11y_audit.check_for_accessibility_errors()
@@ -1270,7 +1270,6 @@ class CertificateInvalidationTest(BaseInstructorDashboardTest):
])
self.certificates_section.a11y_audit.config.set_rules({
"ignore": [
- 'data-table', # TODO: AC-491
'aria-valid-attr-value', # TODO: AC-491
'checkboxgroup', # TODO: AC-491
'color-contrast', # TODO: AC-491
diff --git a/lms/djangoapps/instructor/tests/views/test_instructor_dashboard.py b/lms/djangoapps/instructor/tests/views/test_instructor_dashboard.py
index 6f3522a8a9..9f0103387d 100644
--- a/lms/djangoapps/instructor/tests/views/test_instructor_dashboard.py
+++ b/lms/djangoapps/instructor/tests/views/test_instructor_dashboard.py
@@ -149,10 +149,10 @@ class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase, XssT
# enrollment information visible
self.assertIn('
Enrollment Information
', response.content)
- self.assertTrue('Verified | ' in response.content)
- self.assertTrue('Audit | ' in response.content)
- self.assertTrue('Honor | ' in response.content)
- self.assertTrue('Professional | ' in response.content)
+ self.assertIn('Verified | ', response.content)
+ self.assertIn('Audit | ', response.content)
+ self.assertIn('Honor | ', response.content)
+ self.assertIn('Professional | ', response.content)
# dashboard link hidden
self.assertFalse(self.get_dashboard_enrollment_message() in response.content)
@@ -166,11 +166,10 @@ class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase, XssT
users = [UserFactory() for _ in range(2)]
CourseEnrollment.enroll(users[0], self.course.id, mode="professional")
CourseEnrollment.enroll(users[1], self.course.id, mode="no-id-professional")
-
response = self.client.get(self.url)
# Check that the number of professional enrollments is two
- self.assertContains(response, "Professional | 2 | ")
+ self.assertContains(response, 'Professional | 2 | ')
@patch.dict(settings.FEATURES, {'DISPLAY_ANALYTICS_ENROLLMENTS': False})
@override_settings(ANALYTICS_DASHBOARD_URL='http://example.com')
@@ -182,10 +181,10 @@ class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase, XssT
response = self.client.get(self.url)
# enrollment information hidden
- self.assertFalse('Verified | ' in response.content)
- self.assertFalse('Audit | ' in response.content)
- self.assertFalse('Honor | ' in response.content)
- self.assertFalse('Professional | ' in response.content)
+ self.assertNotIn('Verified | ', response.content)
+ self.assertNotIn('Audit | ', response.content)
+ self.assertNotIn('Honor | ', response.content)
+ self.assertNotIn('Professional | ', response.content)
# link to dashboard shown
expected_message = self.get_dashboard_enrollment_message()
diff --git a/lms/static/coffee/fixtures/autoenrollment.html b/lms/static/coffee/fixtures/autoenrollment.html
index 2e010a1533..22adbed4b8 100644
--- a/lms/static/coffee/fixtures/autoenrollment.html
+++ b/lms/static/coffee/fixtures/autoenrollment.html
@@ -1,8 +1,8 @@
-
${_("Register/Enroll Students")}
+
Register/Enroll Students
- ${_("To register and enroll a list of users in this course, choose a CSV file that contains the following columns in this exact order: email, username, name, and country. Please include one student per row and do not include any headers, footers, or blank lines.")}
+ To register and enroll a list of users in this course, choose a CSV file that contains the following columns in this exact order: email, username, name, and country. Please include one student per row and do not include any headers, footers, or blank lines.
-
\ No newline at end of file
+
diff --git a/lms/templates/ccx/enrollment.html b/lms/templates/ccx/enrollment.html
index 33cf9d943d..07f5cb4d08 100644
--- a/lms/templates/ccx/enrollment.html
+++ b/lms/templates/ccx/enrollment.html
@@ -67,7 +67,7 @@ from openedx.core.djangolib.markup import HTML, Text