Use for=ID on radio/checkbox label.
This is required for some screen reader like Jaws
This commit is contained in:
parent
253cde2062
commit
53d7857092
|
@ -148,10 +148,14 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block checkbox_label -%}
|
||||
{%- set label_attr = label_attr|merge({'for': id}) -%}
|
||||
|
||||
{{- block('checkbox_radio_label') -}}
|
||||
{%- endblock checkbox_label %}
|
||||
|
||||
{% block radio_label -%}
|
||||
{%- set label_attr = label_attr|merge({'for': id}) -%}
|
||||
|
||||
{{- block('checkbox_radio_label') -}}
|
||||
{%- endblock radio_label %}
|
||||
|
||||
|
|
Reference in New Issue