Answer checks should offer feedback to assistive tech. This commit adds

a page level javascript SR object to enable reading of alert messages.
LMS-2158
This commit is contained in:
Dave St.Germain
2014-02-13 13:50:41 -05:00
parent 021e6f5b45
commit 0773f0687d
25 changed files with 310 additions and 217 deletions

View File

@@ -130,11 +130,11 @@ Feature: LMS.Answer problems
Scenario: I can view and hide the answer if the problem has it:
Given I am viewing a "numerical" that shows the answer "always"
When I press the button with the label "Show Answer(s)"
Then the Show/Hide button label is "Hide Answer(s)"
When I press the button with the label "Show Answer"
Then the Show/Hide button label is "Hide Answer"
And I should see "4.14159" somewhere in the page
When I press the button with the label "Hide Answer(s)"
Then the Show/Hide button label is "Show Answer(s)"
When I press the button with the label "Hide Answer"
Then the Show/Hide button label is "Show Answer"
And I should not see "4.14159" anywhere on the page
Scenario: I can see my score on a problem when I answer it and after I reset it