Skip to content

fix(a11y): add aria-labels to login form elements#2254

Open
Prateek2007-cmd wants to merge 1 commit into
janavipandole:mainfrom
Prateek2007-cmd:fix/login-accessibility
Open

fix(a11y): add aria-labels to login form elements#2254
Prateek2007-cmd wants to merge 1 commit into
janavipandole:mainfrom
Prateek2007-cmd:fix/login-accessibility

Conversation

@Prateek2007-cmd

Copy link
Copy Markdown

Description

This PR resolves the Missing Accessibility (ARIA) Labels technical debt in the login view.
Closes #2248
The login.html file was missing essential accessibility tags, leaving interactive elements obscure to screen readers. This PR implements the necessary aria-label attributes to ensure better compliance with web accessibility standards and resolves the related TODO.

Changes Made

  • Added aria-label="Home" to the site logo link.
  • Added aria-label="Login form" to the main login <form>.
  • Added aria-label="Login as User" and aria-label="Login as Admin" to the respective radio button roles.
  • Added aria-label="Sign In" to the form submit button.
  • Removed the obsolete <!-- TODO: Integrate aria labels for screen readers --> comment from the bottom of the file.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Accessibility improvement

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

@Prateek2007-cmd is attempting to deploy a commit to the janavipandole's projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing Accessibility (ARIA) Labels

1 participant