Skip to content

fix: Add missing aria-labels to icon-only buttons in CompareForm #243

Closed

Description

@O2sa

The Swap Users (ArrowLeftRight) and Reset (RefreshCw) buttons in src/features/comparison/components/compare-form.tsx currently set title attributes but lack explicit aria-label attributes.

Motivation

Assistive technologies and screen readers rely on aria-label on icon-only interactive elements to provide accessible descriptions to visually impaired developers.

Tasks

  • Add aria-label={t("form.swap")} to the swap button.
  • Add aria-label={t("form.reset")} to the reset button.
  • Verify keyboard focus accessibility and tooltip behavior.
  • Run pnpm test and pnpm lint.

Tip

🚀 Want to contribute?
Comment assign me to be automatically assigned to this issue via our GitHub Actions bot. Happy coding! ✨

Activity

  1. CreedTech commented on Oct 13, 2026

    @CreedTech
    Contributor

    assign me

  2. github-actions commented on Oct 13, 2026

    @github-actions

    🎉 Issue assigned to @CreedTech! Happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions