added aria describedby elements refering to field help to the input templates

This commit is contained in:
Tobias Diekershoff 2016-04-04 08:10:27 +02:00
commit 1ee405c9c3
14 changed files with 28 additions and 27 deletions

View file

@ -2,8 +2,8 @@
<div class='field select'>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
<select name='{{$field.0}}' id='id_{{$field.0}}'>
<select name='{{$field.0}}' id='id_{{$field.0}}' aria-describedby='{{$field.0}}_tip'>
{{$field.4}}
</select>
<span class='field_help'>{{$field.3}}</span>
<span class='field_help' role='tooltip' id='{{$field.0}}_tip'>{{$field.3}}</span>
</div>