Skip to content

[A11Y] Fix Missing aria-labels on Interactive Elements and Ensure Keyboard Navigation #405

@basantnema31

Description

@basantnema31

Description

While navigating the DevPath-Web application, I noticed that several interactive components (such as icon-only buttons, modal close buttons, and custom dropdown triggers) lack proper WAI-ARIA attributes. This creates a significant barrier for users relying on assistive technologies like screen readers.

Proposed Solution

  1. Audit Buttons: Scan the src/ directory for any <button> or <a> tags that contain only SVG icons and no text. Add descriptive aria-label attributes to these elements.
  2. Focus Management: Ensure that modals and slide-out menus trap focus correctly, and return focus to the triggering element upon closing.
  3. Semantic HTML: Replace <div> elements used as buttons with actual <button type="button"> tags to ensure native keyboard event handling (Space/Enter).

Expected Outcome

The application will become fully accessible and compliant with WCAG 2.1 AA standards, providing a much better experience for disabled users.

Suggested labels: gssoc, quality:clean, level:beginner, type:accessibility, area:frontend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions