Skip to content

Enhance UI/a11y: Add Interactive Hover States and Screen-Reader Support for Action Cards #24

Description

@Abhi666-max

Problem Statement

While auditing the frontend accessibility and user interface of the application, I noticed that the core UI elements (specifically the donation action cards and primary buttons) lack sufficient tactile feedback. The absence of CSS hover and focus-visible states creates a static user experience and violates basic accessibility guidelines for keyboard navigation.

Additionally, FontAwesome icons are currently being rendered without aria-hidden="true". This causes screen readers to either announce confusing Unicode characters or skip the button's intent entirely if proper fallback text (.sr-only) isn't provided.

Proposed Solution

I propose enhancing the user experience and accessibility by implementing tactile CSS feedback and proper ARIA attributes for the icons.

The technical implementation will involve:

  1. Updating the HTML markup for primary action buttons to include aria-hidden="true" on <i> tags and adding visually hidden span text (sr-only) for screen readers.
  2. Appending smooth CSS transitions (e.g., transform: translateY(-4px) and box-shadow) to the .organ-donation-card and action buttons on :hover and :focus-visible.
  3. Ensuring high-contrast focus indicators for users navigating via keyboard.

Assignment Request

I am actively participating in GSSoC '26 and am ready to implement these frontend enhancements. Please assign this issue to me. Kindly apply the relevant labels (e.g., gssoc, gssoc26, ui/ux, enhancement, a11y).

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions