io.github.rog0x/a11y
Alt text, headings, contrast, ARIA for AI agents
Versions
1.0.2latestTools 5
check_alt_text Analyze images in HTML for missing, empty, or low-quality alt text. Reports which images need alt text, which use decorative (empty) alt, and which are properly labeled. Also checks linked images and input[type=image].
check_heading_hierarchy Validate heading structure in HTML: checks for proper h1-h6 nesting order, no skipped levels, single h1, empty headings, and heading content quality. Returns a visual tree of the heading structure.
check_color_contrast Check WCAG 2.x contrast ratio between a foreground and background color pair. Reports AA and AAA compliance for both normal and large text. Accepts hex (#fff, #ffffff), rgb(r,g,b), or named colors.
validate_aria Validate ARIA attributes in HTML: checks for invalid roles, missing required ARIA properties, redundant ARIA on native elements, aria-label on non-interactive elements, and aria-hidden on focusable elements.
check_form_accessibility Check form elements for accessibility: verifies labels are associated with inputs, radio/checkbox groups use fieldset/legend, placeholder is not used as sole label, autocomplete hints on personal info fields, and detects duplicate IDs.
Permissions 0
No permissions indexed yet.