Web Accessibility Testing (A11y MCP)
JSON →Test web pages and HTML for accessibility issues and WCAG compliance using Axe-core and Puppeteer.
Install
npx -y a11y-mcp-server Tools · 20
- check_accessibility Runs axe-core accessibility tests on a given URL and returns violations, passes, and other results.
- check_color_contrast Checks color contrast ratios for specified foreground and background colors against WCAG standards.
- check_keyboard_navigation Simulates keyboard navigation through interactive elements on a page to identify focus and tab order issues.
- check_aria_attributes Validates ARIA attributes on elements for correct usage and values.
- check_html_semantics Analyzes HTML structure for proper semantic element usage and heading hierarchy.
- check_form_labels Checks that all form inputs have associated labels and accessible names.
- check_image_alt_text Verifies that images have appropriate alt text or are marked as decorative.
- check_video_captions Checks if video elements have captions or transcripts available.
- check_audio_descriptions Verifies audio descriptions are present for video content.
- check_language_attributes Validates that the page and content have correct lang attributes.
- check_link_purpose Evaluates links for descriptive text and purpose clarity.
- check_document_structure Reviews document outline, landmarks, and structural elements.
- check_focus_indicators Checks that focus indicators are visible and meet contrast requirements.
- check_motion_reduction Tests for reduced motion preferences and animation safety.
- check_text_resize Verifies content remains accessible when text is resized up to 200%.
- check_zoom_compatibility Tests page layout and functionality at 200% zoom.
- check_screen_reader_compatibility Simulates screen reader output to verify content is announced correctly.
- check_touch_target_size Checks that touch targets are at least 9mm by 9mm (44x44 CSS pixels).
- check_error_identification Reviews form error messages for clarity and accessibility.
- check_status_messages Checks that status messages use appropriate ARIA live regions.
Links
★ 86 GitHub stars