summaryrefslogtreecommitdiff
path: root/templates/ranking.html
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-06-23 12:26:44 +0200
committeremkael <emkael@tlen.pl>2017-06-23 12:26:44 +0200
commit08fe726549d8628723bf53de4b93204a634c93e0 (patch)
tree7ac78410fdd0b85b19a74ceecc4bbc38017690f4 /templates/ranking.html
parent747f317453983e9818db266bd38d32a954ea0c35 (diff)
Additional ARIA attributes for non-textual content
Diffstat (limited to 'templates/ranking.html')
-rw-r--r--templates/ranking.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/ranking.html b/templates/ranking.html
index 66fb05f..dc4d790 100644
--- a/templates/ranking.html
+++ b/templates/ranking.html
@@ -21,7 +21,8 @@
<div class="panel-heading" role="button" data-toggle="collapse" data-target="#filters" aria-expanded="false" aria-controls="filters">
Filtry rankingu
<span class="glyphicon glyphicon-question-sign auto-tooltip"
- title="Kliknięcie zamienia filtr w danej kategorii.<br />Kliknięcie z klawiszem Ctrl dodaje filtr w kategorii."></span>
+ title="Kliknięcie zamienia filtr w danej kategorii.<br />Kliknięcie z klawiszem Ctrl dodaje filtr w kategorii."
+ aria-role="tooltip"></span>
</div>
<div class="collapse panel-body" id="filters">
<div class="form-inline">
@@ -72,7 +73,8 @@
<div class="input-group-addon">Imię/nazwisko</div>
<input type="text" class="form-control" data-filter-field="name" />
<div class="input-group-btn">
- <button type="submit" class="btn btn-default" data-filter-action="name">
+ <button type="submit" class="btn btn-default" data-filter-action="name"
+ aria-label="Filtruj po imieniu/nazwisku">
<i class="glyphicon glyphicon-search"></i>
</button>
<button type="button" class="btn btn-default" data-clear="name">wyczyść</button>
@@ -155,7 +157,8 @@
<div class="input-group pull-right" role="group">
<div class="input-group-addon">Na stronę:</div>
<div class="input-group">
- <select id="pagesize" class="form-control">
+ <select id="pagesize" class="form-control"
+ aria-label="Pozycji na stronę">
<option value="50" selected="selected">50</option>
<option value="100">100</option>
<option value="200">200</option>
@@ -178,7 +181,8 @@
<th>
Zawodnik
<span class="glyphicon glyphicon-question-sign auto-tooltip"
- title="Kliknięcie w wiersz wyświetla historię zawodnika"></span>
+ title="Kliknięcie w wiersz wyświetla historię zawodnika"
+ aria-role="tooltip"></span>
</th>
<th class="club">Klub</th>
<th class="region" colspan="3">Okręg</th>