DOM updates on every keystroke are triggering aria-live region announcements
TNL-1784
This commit is contained in:
@@ -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
|
|||||||
$(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:
|
||||||
|
|||||||
Reference in New Issue
Block a user