Build a password requirements checklist
Evaluate configurable password rules live with semantic status and a concise accessible announcement.Description
Requirements
The solution exports the required PasswordRequirements API from the editable module.
Live rules works deterministically for the documented normal, boundary, and repeated-use scenarios.
All rules required works deterministically for the documented normal, boundary, and repeated-use scenarios.
Status semantics works deterministically for the documented normal, boundary, and repeated-use scenarios.
Aria live works deterministically for the documented normal, boundary, and repeated-use scenarios.
Visibility policy works deterministically for the documented normal, boundary, and repeated-use scenarios.
Immutable rules works deterministically for the documented normal, boundary, and repeated-use scenarios.
Partial completion
Password ocean7
Length and number are marked met; symbol remains not met
The live summary announces two of three rules met without reading every unchanged rule.
Constraints
Accept an immutable configurable rule listDo not hide unmet rules while typingExpose status through text as well as color or icons
Hints
Hint 1
Derive rule results from props instead of mirroring them into state.
Hint 2
Use one concise aria-live summary for progress and semantic text within each list item.
Hint 3
Never reorder or modify the caller's rule array.