Frio: add "aria-describedby" to the field templates
This commit is contained in:
parent
96dfd22d9d
commit
860d6d51b9
8 changed files with 17 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
<div class="form-group field checkbox">
|
||||
<input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.3|escape:'html'}}" {{if $field.2}}checked="checked"{{/if}} aria-describedby='{{$field.0}}_tip'>
|
||||
<input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.3|escape:'html'}}" {{if $field.2}}checked="checked"{{/if}} aria-checked="{{if $field.2}}true{{else}}false{{/if}}" aria-describedby="{{$field.0}}_tip">
|
||||
<label for="id_{{$field.0}}">{{$field.1}}</label>
|
||||
<span class="help-block" role="tooltip">{{$field.4}}</span>
|
||||
<span class="help-block" role="tooltip" id="{{$field.0}}_tip">{{$field.4}}</span>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue