Template:2012FR/Form-section/Radiobuttons/Default: Difference between revisions
Jump to navigation
Jump to search
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: | Line 60: | ||
</li> |
</li> |
||
</ul> |
</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> |
</fieldset> |
Latest revision as of 19:16, 20 November 2024