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

Prevent from tabbing on tos and honor links in registration page
This commit is contained in:
Brian Talbot
2014-02-24 10:22:13 -05:00

View File

@@ -275,7 +275,7 @@
<div class="field required checkbox" id="field-tos">
<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(
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>
</div>
% endif
@@ -291,7 +291,7 @@
honor_code_path = marketing_link('HONOR')
%>
<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>
</div>
% endif