Skip to content

[codex] Add accessible label for search input#24

Merged
igorsatsyuk merged 1 commit into
mainfrom
feat/search-input-accessibility
Jun 15, 2026
Merged

[codex] Add accessible label for search input#24
igorsatsyuk merged 1 commit into
mainfrom
feat/search-input-accessibility

Conversation

@igorsatsyuk

Copy link
Copy Markdown
Owner

What changed

  • added an explicit id to the search input
  • associated the input with a hidden label for accessibility
  • added a reusable .visually-hidden style without changing the UI layout

Why

SonarQube reported that the input field in src/app/app.component.html had no associated label, which violates accessibility expectations.

Impact

The frontend keeps the same visual behavior, while screen readers and automated accessibility checks can correctly identify the search field.

Validation

  • npm test -- --watch=false --browsers ChromeHeadlessCI (24/24 SUCCESS; the Karma process later hung while shutting down ChromeHeadless)

@igorsatsyuk igorsatsyuk marked this pull request as ready for review June 15, 2026 17:17
@igorsatsyuk igorsatsyuk merged commit 2fbe00b into main Jun 15, 2026
7 checks passed
@igorsatsyuk igorsatsyuk deleted the feat/search-input-accessibility branch June 15, 2026 17:19
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.

1 participant