Bug 89: Autocomplete Without Suggestions Announced (F59)

WCAG 4.1.3 (Status Messages) | Autocomplete suggestions not announced to screen readers.

Failure F59: Autocomplete Suggestions Invisible to Screen Readers
  • Canada
  • Cambodia
  • Cameroon
  • Central African Republic

Issues:

  • Suggestions appear but no aria-expanded on input
  • No aria-owns linking input to suggestions list
  • No aria-live on suggestions container
  • Screen readers don't announce suggestion count
  • No aria-selected for highlighted suggestion
  • Keyboard users can't navigate suggestions
Failure F59: Suggestions Not Keyboard Navigable
  • Accessibility Guidelines
  • Accordion Component
  • Alert Dialogs

Issues:

  • Down arrow doesn't select suggestion
  • Enter doesn't activate suggestion
  • No aria-activedescendant on input
  • Mouse users can click, keyboard users stuck
HAL Fixes: HAL adds aria-expanded, aria-owns, aria-live="polite" to autocomplete. HAL adds aria-activedescendant to track highlighted suggestion. HAL implements keyboard navigation (arrow keys, Enter, ESC). HAL announces "X suggestions available".