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:
Tada, Tadashi
2021-04-30 17:23:48 +09:00
parent 87846e6cda
commit 27f02c2dc9
6 changed files with 17 additions and 17 deletions
+6 -6
View File
@@ -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="&#xe14b;"></span>
</a>
<a id="change_to_pie_charts" class="btn btn-small">
<span data-icon="&#xe096;"></span>
</a>
<button id="change_to_bar_graph" class="btn btn-small">
<span aria-label="change to bar graph" data-icon="&#xe14b;"></span>
</button>
<button id="change_to_pie_charts" class="btn btn-small">
<span aria-label="change to pie charts" data-icon="&#xe096;"></span>
</button>
</div>
</div>
<!-- End Title Buttons-->