Imported from LilyDesignSystem/lily-design-system (
components/cesko-rodne-cislo-input/AGENTS.md). Install upstream withnpx skills add LilyDesignSystem/lily-design-system --skill cesko-rodne-cislo-input. Copyright stays with the author.
CeskoRodneCisloInput
Metadata
- Component: cesko-rodne-cislo-input
- PascalCase: CeskoRodneCisloInput
- Description: an input for entering Czech Republic's Rodné číslo (RČ)
- Status: beta — implemented and unit-tested in all seven frameworks with an axe-clean demo page; not yet exercised in composed flows
- HTML tag:
- CSS class: .cesko-rodne-cislo-input
- Interactive: yes
Key Behaviors
- Renders as
<input type="text">with classcesko-rodne-cislo-input - Format: nine or ten digits in the format YYXXDD/SSSC where XX=MM for males and MM+50 for females; the ten-digit form ends in a check digit and is usually divisible by 11
autocomplete="off"to protect sensitive identifiers- Supports two-way binding
ARIA
aria-labelprovides accessible name from label proprequiredanddisabledstates conveyed to assistive technologyaria-labelprovided from thelabelprop
Keyboard
- Standard text input keyboard behavior
Props
label: string (required) — accessible label via aria-labelvalue: string (default: "") — bindable input valuerequired: boolean (default: false) — form validationdisabled: boolean (default: false) — disabled state...restProps: any additional HTML attributes spread onto the root
Acceptance Criteria
- Renders element with class="cesko-rodne-cislo-input"
- Has aria-label attribute
- Pattern attribute matches documented format
- WCAG 2.2 AAA compliant
- Zero CSS — fully headless
References
- Documentation: index.md
- CSS class: .cesko-rodne-cislo-input in css-style-sheet-template.css
- Companion: CeskoRodneCisloView
- Wikipedia: https://en.wikipedia.org/wiki/National_identification_number#Czech_Republic