Skip to content

[Bug]: FAQ Accordion Lacks Keyboard Navigation #1111

@suman20041

Description

@suman20041

Description

The FAQ accordion currently only supports mouse clicks and cannot be navigated using keyboard controls. When users press arrow keys, Enter, or Space on the FAQ buttons, nothing happens. The accordion items also lack proper ARIA attributes for screen readers.

Steps to Reproduce

  • Navigate to the FAQ page (/pages/faq.html)
  • Try to move between FAQ questions using keyboard arrow keys (↑/↓)
  • Press Enter or Space on any FAQ question
  • Attempt to jump to first/last FAQ using Home/End keys
  • Observe that no keyboard interactions work

Expected Behavior

  • Users should be able to navigate between FAQ items using up or down arrow keys
  • Enter or Space should toggle the FAQ answer open or closed
  • Home or End keys should jump to first or last FAQ
  • FAQ buttons should have proper ARIA attributes for accessibility
  • Focus should be visually indicated when navigating with keyboard

Actual Behavior

  • Arrow keys do nothing
  • Enter or Space do nothing
  • Home or End keys have no effect
  • No ARIA attributes present
  • Only mouse clicks work to toggle FAQs

Metadata

Metadata

Assignees

Labels

ECWoC26bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions