Commit badbc3e3 by Ahsan Ulhaq

Merge pull request #7499 from…

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
parents 0e6ed886 0b3790a0
...@@ -468,7 +468,6 @@ class @Problem ...@@ -468,7 +468,6 @@ class @Problem
$(element).find('input').on 'input', -> $(element).find('input').on 'input', ->
$p = $(element).find('p.status') $p = $(element).find('p.status')
`// Translators: the word unanswered here is about answering a problem the student must solve.` `// Translators: the word unanswered here is about answering a problem the student must solve.`
$p.text gettext("unanswered")
$p.parent().removeClass().addClass "unanswered" $p.parent().removeClass().addClass "unanswered"
choicegroup: (element) -> choicegroup: (element) ->
...@@ -497,7 +496,6 @@ class @Problem ...@@ -497,7 +496,6 @@ class @Problem
$(element).find('input').on 'input', -> $(element).find('input').on 'input', ->
$p = $(element).find('p.status') $p = $(element).find('p.status')
`// Translators: the word unanswered here is about answering a problem the student must solve.` `// 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" $p.parent().removeClass("correct incorrect").addClass "unanswered"
inputtypeSetupMethods: inputtypeSetupMethods:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment