-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checkbox Implementation #54
Conversation
DS-77 Develop a Headless Checkbox Component
The checkbox should provide the essential functionality without predefined UI. Requirements: 1. State Management: The component should maintain its own state (checked or unchecked) but also allow for external control via props if needed (for controlled components). 2. Accessibility: Ensure that the component is fully accessible, including proper ARIA attributes such as role="checkbox" and aria-checked. It should support keyboard navigation (space to toggle) and screen reader compatibility. 3. Event Handling: The component should emit events for state changes (onCheck) to allow parent components to react to changes in state. 4. Documentation: Provide detailed documentation on how to use the component, including examples of integrating it with different styles and handling state changes. 5. Testing: Include comprehensive unit and integration tests to ensure the component functions correctly in isolation and when integrated into larger systems. Tests should cover all functionalities, including accessibility features and event handling. |
|
Co-authored-by: Jack Shelton <[email protected]>
Co-authored-by: Jack Shelton <[email protected]>
Co-authored-by: Jack Shelton <[email protected]>
Co-authored-by: Jack Shelton <[email protected]>
Co-authored-by: Jack Shelton <[email protected]> Co-authored-by: Aleksandr Zainetdinov <[email protected]>
Merging code to date. Further development required. |
No description provided.