Convey button role to screen readers

See http://v4-alpha.getbootstrap.com/components/buttons/#button-tags for more on `role="button"` attribute
This commit is contained in:
Audrey Roy Greenfeld 2016-09-13 13:14:45 -07:00 committed by GitHub
parent 833e59f89c
commit 84ee2fc5ec

View File

@ -21,8 +21,8 @@
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<a class="btn btn-primary" href="{% url 'users:update' %}">My Info</a> <a class="btn btn-primary" href="{% url 'users:update' %}" role="button">My Info</a>
<a class="btn btn-primary" href="{% url 'account_email' %}">E-Mail</a> <a class="btn btn-primary" href="{% url 'account_email' %}" role="button">E-Mail</a>
<!-- Your Stuff: Custom user template urls --> <!-- Your Stuff: Custom user template urls -->
</div> </div>