CodeFrog
Accessibility Testing
← Back to CodeFrog

Accessibility Testing

Overview

CodeFrog includes comprehensive accessibility testing tools designed to help you meet WCAG (Web Content Accessibility Guidelines) standards at all three conformance levels: A, AA, and AAA. These tools help identify and fix accessibility issues before your app or website goes live.

Purpose

Accessibility testing ensures your application is usable by people with disabilities, including:

Meeting WCAG standards is not just good practice—it’s often required by law in many jurisdictions. Level AA is typically the target for legal compliance, while Level A is the minimum and Level AAA represents enhanced accessibility.

How to Run Accessibility Tests

  1. Open your project in CodeFrog
  2. Navigate to the Analyze tab
  3. Select Accessibility from the analysis options
  4. Choose the files or directories to scan
  5. Click Run Analysis

The accessibility scanner will check:

Interpreting Results

Important: WCAG A, AA, and AAA ratings cannot be fully achieved with automated testing alone. Manual testing with assistive technologies is required for full conformance. According to Deque (makers of axe-core), automated tests find less than 60% of accessibility issues on average. CodeFrog’s automated testing helps identify many issues, but should be combined with manual testing for complete WCAG compliance.

Color Contrast

The scanner reports contrast ratios for all text elements:

Results show:

CodeFrog tests for both AA and AAA contrast requirements. The WCAG rating in your results shows which level your page passes based on automated testing, but full conformance requires manual testing.

Keyboard Navigation

The scanner verifies:

ARIA Validations

Checks include:

Keyboard and Focus Checks

Manual Testing

While automated tools catch many issues, manual testing is essential:

  1. Tab Navigation Test:
    • Use only the Tab key to navigate
    • Verify all interactive elements are reachable
    • Check that focus indicators are visible
    • Ensure tab order is logical
  2. Keyboard Shortcuts:
    • Test all keyboard shortcuts
    • Verify they work without mouse
    • Check for conflicts with screen readers
  3. Focus Management:
    • Modal dialogs should trap focus
    • Focus should return to trigger element when modal closes
    • Dynamic content changes should announce to screen readers

Exporting Results

Accessibility scan results can be exported in multiple formats:

Export options are available from the results screen.

Troubleshooting

False Positives

Some automated checks may flag issues that aren’t actual problems:

Common Issues and Fixes

Low Contrast:

Missing ARIA Labels:

Keyboard Traps:

Missing Focus Indicators:

Best Practices

  1. Test Early and Often: Run accessibility scans during development, not just before launch
  2. Combine Automated and Manual Testing: Automated tools catch many issues, but manual testing is essential for full WCAG conformance at any level (A, AA, or AAA). According to research, automated tests find less than 60% of accessibility issues on average. Therefore, manual testing with assistive technologies is required for complete compliance.
  3. Test with Real Screen Readers: Use VoiceOver (macOS), NVDA (Windows), or JAWS
  4. Test Keyboard Navigation: Verify all functionality is accessible via keyboard only
  5. Involve Users with Disabilities: Get feedback from actual users when possible
  6. Follow WCAG Guidelines: Use the official WCAG 2.1 guidelines as your reference
  7. Understand Limitations: Remember that automated testing alone cannot fully verify WCAG compliance. For more information, see the Deque automated accessibility coverage report.

Next Steps