Skip to content

[TR] A11y: User instructions & screen reader updates: Zero-match search shows a blank area with no text message and filter result counts are not announced on the Devices page - #1676

Merged
sofyakurilova merged 1 commit into
devfrom
bug/a11y/list
Oct 30, 2026

Conversation

@sofyakurilova

Copy link
Copy Markdown
Collaborator

fix(ui): display empty search message and announce filter updates in list layout

  • Render a visible <p class="empty-search-message" role="status" aria-live="polite"> inside section.entity-list in ListLayoutComponent when a search query matches zero items ("No devices found" / "No risk profiles found").
  • Inject LiveAnnouncer in ListLayoutComponent and expose a polite role="status" live region to announce the matching entity count when filtering or clearing the search query.
  • Add unit tests in list-layout.component.spec.ts covering zero-match search states and screen reader filter announcements.

…list layout

- Render a visible `<p class="empty-search-message" role="status" aria-live="polite">`
  inside `section.entity-list` in `ListLayoutComponent` when a search query matches
  zero items ("No devices found" / "No risk profiles found").
- Inject `LiveAnnouncer` in `ListLayoutComponent` and expose a polite `role="status"`
  live region to announce the matching entity count when filtering or clearing the
  search query.
- Add unit tests in `list-layout.component.spec.ts` covering zero-match search states
  and screen reader filter announcements.
@sofyakurilova
sofyakurilova requested a review from hitnik October 29, 2026 16:39
@sofyakurilova sofyakurilova self-assigned this Oct 29, 2026
@sofyakurilova sofyakurilova added the a11y Fix related to accessibility label Oct 29, 2026
@sofyakurilova sofyakurilova added this to the Release 2.4.2 milestone Oct 29, 2026
@sofyakurilova
sofyakurilova merged commit 35e9808 into dev Oct 30, 2026
25 checks passed
@sofyakurilova
sofyakurilova deleted the bug/a11y/list branch October 30, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a11y Fix related to accessibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants