Use buttons rather than links for js-clickable elements

Add some missing attributes for correct behavior/accessibility
This commit is contained in:
Andrew Croce
2018-10-18 10:00:38 -04:00
parent c531680b44
commit 8da22f5941
3 changed files with 7 additions and 6 deletions

View File

@@ -22,7 +22,7 @@
</p>
<div class='action-group'>
<button type='submit' class='action-group__action usa-button' tabindex='0'>{{ action_text }} Project</button>
<button autofocus type='submit' class='action-group__action usa-button' tabindex='0'>{{ action_text }} Project</button>
<button type='button' v-on:click="handleCancelSubmit" class='icon-link action-group__action' tabindex='0'>Cancel</button>
</div>
{% endcall %}