Removed inappropriate section tags. Because screen readers announce each section, they should not be used unless they are actually defining meaningful sections.
This commit is contained in:
@@ -5,13 +5,12 @@
|
||||
${ problem['name'] }
|
||||
</h2>
|
||||
|
||||
<section class="problem-progress">
|
||||
</section>
|
||||
<div class="problem-progress"></div>
|
||||
|
||||
<section class="problem">
|
||||
<div class="problem">
|
||||
${ problem['html'] }
|
||||
|
||||
<section class="action">
|
||||
<div class="action">
|
||||
<input type="hidden" name="problem_id" value="${ problem['name'] }" />
|
||||
|
||||
% if check_button:
|
||||
@@ -27,9 +26,9 @@
|
||||
<button class="show"><span class="show-label">${_('Show Answer(s)')}</span> <span class="sr">${_("(for question(s) above - adjacent to each field)")}</span></button>
|
||||
% endif
|
||||
% if attempts_allowed :
|
||||
<section class="submission_feedback">
|
||||
<div class="submission_feedback">
|
||||
${_("You have used {num_used} of {num_total} submissions").format(num_used=attempts_used, num_total=attempts_allowed)}
|
||||
</section>
|
||||
</div>
|
||||
% endif
|
||||
</section>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user