CodeFrog
Accessibility Testing
← Back to CodeFrog

Overview

CodeFrog includes comprehensive accessibility testing tools designed to help you meet WCAG AA (Web Content Accessibility Guidelines Level AA) standards. 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 AA standards is not just good practice—it’s often required by law in many jurisdictions.

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

Color Contrast

The scanner reports contrast ratios for all text elements:

Results show:

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
  3. Test with Real Screen Readers: Use VoiceOver (macOS), NVDA (Windows), or JAWS
  4. Involve Users with Disabilities: Get feedback from actual users when possible
  5. Follow WCAG Guidelines: Use the official WCAG 2.1 guidelines as your reference

Next Steps