From 865850c2ad83b77486cda63b2c952df668fc80cc Mon Sep 17 00:00:00 2001 From: Waheed Ahmed Date: Mon, 20 Oct 2014 20:12:16 +0500 Subject: [PATCH] Fixed screen reader issues. TNL-568 TNL-588 TNL-595 --- common/lib/capa/capa/templates/textline.html | 3 +-- lms/djangoapps/courseware/tests/test_masquerade.py | 2 +- lms/templates/problem.html | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/common/lib/capa/capa/templates/textline.html b/common/lib/capa/capa/templates/textline.html index f4e87e495b..8a9826b0a5 100644 --- a/common/lib/capa/capa/templates/textline.html +++ b/common/lib/capa/capa/templates/textline.html @@ -29,7 +29,6 @@ - +

% if do_math:
`{::}`
diff --git a/lms/djangoapps/courseware/tests/test_masquerade.py b/lms/djangoapps/courseware/tests/test_masquerade.py index f26f2d00e9..65b29d24ea 100644 --- a/lms/djangoapps/courseware/tests/test_masquerade.py +++ b/lms/djangoapps/courseware/tests/test_masquerade.py @@ -98,7 +98,7 @@ class TestStaffMasqueradeAsStudent(ModuleStoreTestCase, LoginEnrollmentTestCase) resp = self.get_problem() html = json.loads(resp.content)['html'] print html - sabut = '' + sabut = '' self.assertTrue(sabut in html) def test_no_showanswer_for_student(self): diff --git a/lms/templates/problem.html b/lms/templates/problem.html index 090e260aff..2a7d646d6a 100644 --- a/lms/templates/problem.html +++ b/lms/templates/problem.html @@ -7,7 +7,7 @@
-
+
${ problem['html'] }
@@ -23,7 +23,7 @@ % endif % if answer_available: - + % endif % if attempts_allowed :