Prevent from tabbing on tos and honor links
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user