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

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
add tabindex="-1" to errors so they can be focused by js and announced by screenreaders
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html>
<html>
<input type="hidden" name="currency_code" value="</html>{{{currency|{{2012FR/Switch/Currency/Code|{{{country}}}}}}}}<html>"/>
<input type="hidden" name="currency_code" value="</html>{{{currency|{{CurrencyCode|{{{country}}}}}}}}<html>"/>
<div id="radiobuttons-table-header">
<div>
</html>{{int:donate_interface-amount-legend}} ({{{currency|{{CurrencyCode|{{{country}}}}}}}})<html>
<div id="radiobuttons-table-header">
</html>{{int:donate_interface-amount-legend}} ({{{currency|{{2012FR/Switch/Currency/Code|{{{country}}}}}}}})<html>
</div>
</div>
</div>
<fieldset class="frequency-options">
<fieldset class="frequency-options">
<legend class="sr-only">
How often would you like to donate?
</legend>
<ul>
<ul>
<li>
<li>
Line 19: Line 20:
</fieldset>
</fieldset>
<fieldset class="amount-options">
<fieldset class="amount-options">
<legend class="sr-only">
</html>{{int:donate_interface-amount-legend}} ({{{currency|{{CurrencyCode|{{{country}}}}}}}})<html>
</legend>
<ul>
<ul>
<li class="radiobuttons-cell input_amount_0">
<li class="radiobuttons-cell input_amount_0">
Line 36: Line 40:
<label class="frb-btn" for="input_amount_3"></html>{{CurrencyFormat|{{{donate-amount-3}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
<label class="frb-btn" for="input_amount_3"></html>{{CurrencyFormat|{{{donate-amount-3}}}|{{{currency}}}|{{{country}}}|{{{language}}}}}<html></label>
</li>
</li>
</ul>
<ul>
<li class="radiobuttons-cell input_amount_4">
<li class="radiobuttons-cell input_amount_4">
<input type="radio" name="amount" id="input_amount_4" onclick="selectAmount();" value="</html>{{{donate-amount-4}}}<html>" />
<input type="radio" name="amount" id="input_amount_4" onclick="selectAmount();" value="</html>{{{donate-amount-4}}}<html>" />
Line 58: Line 60:
</li>
</li>
</ul>
</ul>
<!-- tabindex="-1" allows focus with js so errors can be announced -->
<div style="display: none;" class="lp-error lp-error-smallamount"></html>{{int:Donate_interface-smallamount-error}}<html></div>
<div style="display: none;" class="lp-error lp-error-bigamount"></html>{{int:Donate_interface-bigamount-error}}<html></div>
<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>
</fieldset>
</fieldset>
</html>
</html>

Latest revision as of 19:16, 20 November 2024

Donation amount (USD)
How often would you like to donate?
Donation amount (USD)