Template:Optin/Default: Difference between revisions

Content deleted Content added
No edit summary
trying focus method instead
 
(35 intermediate revisions by 2 users not shown)
Line 1:
<html>
<fieldset class="optin-options">
<legend></html>{{Translated|Template:OptinText/Question}}<html></legend>
<ul>
<li>
Line 8 ⟶ 9:
<li>
<input class="lp-radio" type="radio" name="opt_in" id="optin-no" value="0">
<label class="lp-radio-label" for="optin-no"></html>{{Translated|Template:OptinText/No}}<html></label>
</li>
</ul>
<div class="optin-no-prompt" data-is-translated="</html>{{IsTranslated|Template:OptinText/PromptNo|{{int:lang}}}}<html>">
<div class="optin-smallprint">
*<div class="optin-no-prompt__no"></html>{{Translated|Template:OptinText/SmallprintPromptNo}}<html></div>
<div class="optin-no-prompt__yes"></html>{{Translated|Template:OptinText/PromptYes}}<html></div>
</div>
<div id="error-optin" class="lp-error" style="display: none;" tabindex="-1"><!-- tabindex="-1" allows focus with js so it can be announced -->
</html>{{Translated|Template:OptinText/PleaseSelect}}<html>
</div>
<div class="optin-smallprint links-in-new-tab">
</html>{{Translated|Template:OptinText/Smallprint}}<html>
</div>
</fieldset>