Commit 0b3790a0 by Ahsan Ulhaq

DOM updates on every keystroke are triggering aria-live region announcements

TNL-1784
parent 01bdfb12
......@@ -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:
......
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