Skip to content

bug: 404 page footer renders an empty role="alert" element #655

Description

@aryamthecodebreaker

Summary

The custom 404 page on https://fixmap.aryam.me ("This path is not on the map") has an empty element with role="alert" in the footer.

Why it matters

role="alert" is an assertive live region. An empty one serves no purpose, and some screen readers may announce it or treat it oddly. Minor accessibility issue.

Repro

  1. Open any missing path on https://fixmap.aryam.me (e.g. /does-not-exist).
  2. Inspect the footer: there is an empty role="alert" element.

Expected

Either remove the element, or only render it (or give it content) when there is an actual message to announce.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions