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:
Dave St.Germain
2014-01-31 16:31:56 -05:00
parent 9132009fd3
commit a6797899da
29 changed files with 78 additions and 79 deletions

View File

@@ -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>