v01dst opened a new pull request, #507: URL: https://github.com/apache/fineract-backoffice-ui/pull/507
## Summary On a fresh `/login` load the username and password inputs carried `aria-invalid="true"` before any interaction, so screen readers announced both fields as invalid on a pristine form (#483). `tenantId` escaped only because it ships with a default value. ## Fix Each binding now gates on touched/dirty per the issue's suggestion, and emits `null` (attribute absent) rather than `false` for pristine fields: ``` [attr.aria-invalid]="(control.invalid && (control.touched || control.dirty)) ? 'true' : null" ``` After a submit attempt (touched/dirty), genuinely invalid fields still announce `aria-invalid="true"` — the error state is preserved where it is real. Closes #483 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
