Standrize buttons in assessment problems

Assessment problems was having input type="button" which cause accessibility issues.
changed them to <button> and added span with class sr.

TNL-1693
This commit is contained in:
Ahsan Ulhaq
2015-03-12 20:28:07 +05:00
parent 766663eefa
commit a715bd7053
7 changed files with 25 additions and 24 deletions

View File

@@ -38,7 +38,7 @@ class ProblemPage(PageObject):
"""
Click the Check button!
"""
self.q(css='div.problem input.check').click()
self.q(css='div.problem button.check').click()
self.wait_for_ajax()
def is_correct(self):