Closed spookylukey closed 4 months ago
See https://github.com/django-crispy-forms/crispy-tailwind/blob/main/crispy_tailwind/templates/tailwind/layout/select.html#L5
This results in an accessibility bug, since the <label> has a for attribute that points to nowhere, so clicking on the label doesn't focus the <select>. It also results in bugs with anything else that expects the normal Django ids to be present.
<label>
for
<select>
See https://github.com/django-crispy-forms/crispy-tailwind/blob/main/crispy_tailwind/templates/tailwind/layout/select.html#L5
This results in an accessibility bug, since the
<label>
has afor
attribute that points to nowhere, so clicking on the label doesn't focus the<select>
. It also results in bugs with anything else that expects the normal Django ids to be present.