GruffElixir opened a new pull request, #501: URL: https://github.com/apache/fineract-backoffice-ui/pull/501
## What and why Required login fields expose `aria-invalid="true"` immediately on a pristine form. Screen-reader users therefore hear an error state before they have interacted with the form. The binding now emits `aria-invalid` only when a field is invalid and touched or dirty, and removes the attribute otherwise. A regression test verifies that Username and Password begin without the attribute and that touching Username exposes its invalid state without changing Password. Closes #483 ## Validation - `npm test -- --watch=false --include=src/app/features/login/login.component.test.ts` — 7 passed - ESLint on the changed component and test — passed - Prettier and `git diff --check` — passed ## Checklist - [x] No generated API files changed. - [x] No user-facing strings added. - [x] Added focused accessibility regression coverage. - [x] Commit is signed. -- 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]
