Inputs with errors should have an aria-invalid="true" attribute, as well as aria-errormessage, whose value is the id of the element with the error message.
Current output of ui_input
<label for="profile_form_street_address">
Street address
</label>
<input
id="profile_form_street_address"
maxlength="255"
name="profile_form[street_address]"
type="text"
value=""
>
<span
class="u-fg-warning"
phx-feedback-for="profile_form[street_address]"
>
can't be blank
</span>
Inputs with errors should have an
aria-invalid="true"
attribute, as well asaria-errormessage
, whose value is the id of the element with the error message.Current output of
ui_input
Improved output of
ui_input