Skip to content

Conversation

MrHutmat
Copy link
Contributor

Removed Aria label from the username and password input, since we already have a label attached to each of these input elements.

Since the aria label was not needed labelUsername and labelPassword were also removed

@Copilot Copilot AI review requested due to automatic review settings September 23, 2025 10:47
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves accessibility by removing redundant aria-label attributes from username and password input fields that already have proper label elements associated with them. The change eliminates unnecessary localization calls and simplifies the input creation process.

Key Changes

  • Removed label parameter from createInput function interface
  • Eliminated ariaLabel assignment in input creation
  • Removed unused labelUsername and labelPassword local variables

@MrHutmat MrHutmat closed this Sep 23, 2025
@MrHutmat MrHutmat reopened this Sep 23, 2025
@iOvergaard iOvergaard changed the title Removed Aria label from the username and password input, since we alr… Login form: Improved accessibility by removing duplicate label and aria-label Oct 2, 2025
@iOvergaard iOvergaard changed the title Login form: Improved accessibility by removing duplicate label and aria-label Login form: Improves accessibility by removing duplicate label and aria-label Oct 2, 2025
@iOvergaard iOvergaard merged commit 1f747d3 into main Oct 2, 2025
36 checks passed
@iOvergaard iOvergaard deleted the v16/bugfix/login-form-arial-label-fix branch October 2, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants