Template:2012FR/Form-section/Radiobuttons/Default: Difference between revisions

Content deleted Content added
try adding role="alert" so screenreaders might read
add tabindex="-1" to errors so they can be focused by js and announced by screenreaders
 
Line 60:
</li>
</ul>
<!-- tabindex="-1" allows focus with js so errors can be announced -->
<div role="alert">
<div style="display: none;" tabindex="-1" class="lp-error lp-error-smallamount">
</html>{{int:Donate_interface-smallamount-error}}<html>
</div>
<div style="display: none;" tabindex="-1" class="lp-error lp-error-bigamount">
</html>{{int:Donate_interface-bigamount-error}}<html></div>
</div>
</fieldset>