Commit 230287d4 by Ahsan Ulhaq

Merge pull request #7334 from edx/ahsan/tnl-1699-remove-buttons-from-aria-live-region

Ahsan/tnl 1699 remove buttons from aria live region
parents c6ab15c6 2e0d35f1
...@@ -7,9 +7,10 @@ ...@@ -7,9 +7,10 @@
<div class="problem-progress"></div> <div class="problem-progress"></div>
<div class="problem" aria-live="polite" aria-relevant="all"> <div class="problem">
<div aria-live="polite">
${ problem['html'] } ${ problem['html'] }
</div>
<div class="action"> <div class="action">
<input type="hidden" name="problem_id" value="${ problem['name'] }" /> <input type="hidden" name="problem_id" value="${ problem['name'] }" />
...@@ -26,7 +27,7 @@ ...@@ -26,7 +27,7 @@
<button class="show"><span class="show-label">${_('Show Answer')}</span> </button> <button class="show"><span class="show-label">${_('Show Answer')}</span> </button>
% endif % endif
% if attempts_allowed : % if attempts_allowed :
<div class="submission_feedback"> <div class="submission_feedback" aria-live="polite">
${_("You have used {num_used} of {num_total} submissions").format(num_used=attempts_used, num_total=attempts_allowed)} ${_("You have used {num_used} of {num_total} submissions").format(num_used=attempts_used, num_total=attempts_allowed)}
</div> </div>
% endif % endif
......
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