improve accessibility
* add 'aria-label' into some elements without the label * add 'aris-label' into some visual elements * replace some 'a' elements have a button action to 'button'
This commit is contained in:
@@ -10,12 +10,12 @@
|
||||
<!-- Begin Title Buttons-->
|
||||
<div class="tools pull-right">
|
||||
<div class="btn-group">
|
||||
<a id="change_to_bar_graph" class="btn btn-small">
|
||||
<span data-icon=""></span>
|
||||
</a>
|
||||
<a id="change_to_pie_charts" class="btn btn-small">
|
||||
<span data-icon=""></span>
|
||||
</a>
|
||||
<button id="change_to_bar_graph" class="btn btn-small">
|
||||
<span aria-label="change to bar graph" data-icon=""></span>
|
||||
</button>
|
||||
<button id="change_to_pie_charts" class="btn btn-small">
|
||||
<span aria-label="change to pie charts" data-icon=""></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End Title Buttons-->
|
||||
|
||||
Reference in New Issue
Block a user