description | globs | alwaysApply |
---|---|---|
Enforce accessibility guidelines when building or reviewing UI to ensure inclusive user experiences |
src/**/*.tsx |
false |
blefnk/rules 1.0.0
- Ensures all user-facing pages and components meet basic accessibility
- Applies to interactions, visual elements, and markup structure
- Provide keyboard navigation with visible focus states.
- Use semantic HTML (correct headings, list elements, etc.).
- Include ARIA attributes or roles when necessary.
- Maintain WCAG-compliant color contrast for text and interactive elements.
- Ensure form fields have labels or
aria-label
s; group related fields with<fieldset>
if appropriate. - Use consistent skip links or nav landmarks for clear page structure.
We'll never share your email address.