Template:Optin/Default: Difference between revisions

Content deleted Content added
add aria-live="assertive" to error
Tag: Reverted
trying focus method instead
 
(2 intermediate revisions by the same user not shown)
Line 16:
<div class="optin-no-prompt__yes"></html>{{Translated|Template:OptinText/PromptYes}}<html></div>
</div>
<spandiv id="error-optin" class="lp-error" aria-live="assertive" style="display: none;" tabindex="-1"><!-- tabindex="-1" allows focus with js so it can be announced -->
</html>{{Translated|Template:OptinText/PleaseSelect}}<html>
</spandiv>
<div class="optin-smallprint links-in-new-tab">
</html>{{Translated|Template:OptinText/Smallprint}}<html>