Skip to content

Announce loading, success, and error messages to screen readers #20

Open

Description

@niat-web

Technical Area

Frontend / Accessibility (all HTML pages, js/reports.js, js/new-report.js, js/report-detail.js, js/admin.js)

Description

Status messages appear on the page, but assistive technologies are not told about them. A screen reader user does not hear that a list has loaded, that an upvote worked, or that a request failed.

Current Behavior

None of the four pages has an element with aria-live, role="status" or role="alert". Messages such as "Loading reports...", "Could not load reports: ...", "Thank you, your vote was added." and "Status of ... changed to Fixed." are written with textContent into plain <p class="message"> elements (#message, #upvote-message). The vote count on report.html (#votes) also changes without any announcement after an upvote.

Expected Behavior

Loading, success and error messages are announced in an appropriate way, and errors are announced promptly.

What Needs to Change

Give the message areas the semantics that assistive technologies need to announce changes. Avoid announcing content that is not a message, such as the statistics line, more often than needed.

Acceptance Criteria

  • The message elements on the four pages use appropriate live-region semantics
  • An error message is announced when it appears
  • A successful action, for example an upvote or a status change, is announced
  • Repeated or unnecessary announcements are avoided
  • The pull request states how the behavior was checked (for example with a screen reader or the browser's accessibility tree)

Activity

  1. added
    enhancement
    frontend
    on Sep 29, 2026
  2. Vishnupriya-bean commented on Nov 4, 2026

    @Vishnupriya-bean

    Hi! I'd like to work on this issue. Could you please assign it to me? Thank you!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfrontend

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions