Commit 0b2267df by Brian Talbot

Merge pull request #2502 from ionis-education-group/tabindex-register

Prevent from tabbing on tos and honor links in registration page
parents b7c557ff 10482516
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
<div class="field required checkbox" id="field-tos"> <div class="field required checkbox" id="field-tos">
<input id="tos-yes" type="checkbox" name="terms_of_service" value="true" required aria-required="true" /> <input id="tos-yes" type="checkbox" name="terms_of_service" value="true" required aria-required="true" />
<label for="tos-yes">${_('I agree to the {link_start}Terms of Service{link_end}').format( <label for="tos-yes">${_('I agree to the {link_start}Terms of Service{link_end}').format(
link_start='<a href="{url}" class="new-vp">'.format(url=marketing_link('TOS')), link_start='<a href="{url}" class="new-vp" tabindex="-1">'.format(url=marketing_link('TOS')),
link_end='</a>')}</label> link_end='</a>')}</label>
</div> </div>
% endif % endif
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
honor_code_path = marketing_link('HONOR') honor_code_path = marketing_link('HONOR')
%> %>
<label for="honorcode-yes">${_('I agree to the {link_start}Honor Code{link_end}').format( <label for="honorcode-yes">${_('I agree to the {link_start}Honor Code{link_end}').format(
link_start='<a href="{url}" class="new-vp">'.format(url=honor_code_path), link_start='<a href="{url}" class="new-vp" tabindex="-1">'.format(url=honor_code_path),
link_end='</a>')}</label> link_end='</a>')}</label>
</div> </div>
% endif % endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment