Merge pull request #7499 from edx/ahsan/tnl-1784-every-keystroke-triggers-aria-live-region-announcements

DOM updates on every keystroke are triggering aria-live region announcements
This commit is contained in:
Ahsan Ulhaq
2015-04-02 15:07:10 +05:00

View File

@@ -468,7 +468,6 @@ class @Problem
$(element).find('input').on 'input', ->
$p = $(element).find('p.status')
`// Translators: the word unanswered here is about answering a problem the student must solve.`
$p.text gettext("unanswered")
$p.parent().removeClass().addClass "unanswered"
choicegroup: (element) ->
@@ -497,7 +496,6 @@ class @Problem
$(element).find('input').on 'input', ->
$p = $(element).find('p.status')
`// Translators: the word unanswered here is about answering a problem the student must solve.`
$p.text gettext("unanswered")
$p.parent().removeClass("correct incorrect").addClass "unanswered"
inputtypeSetupMethods: