Skip to content

Conversation

@coseeian
Copy link
Collaborator

@coseeian coseeian commented Feb 1, 2026

Resolves #1126.

Summary

  • Adds a visually hidden <h1> "Search Results" heading to the search page for accessibility

Details

The search page was missing a level-one heading, which is a WCAG best practice for proper document structure and assistive technology navigation. This change adds an <h1> element with the sr-only class to make it accessible to screen readers while keeping it visually hidden to maintain the current design.

Changes

  • Added <h1 class="sr-only">Search Results</h1> to src/layouts/SearchLayout.astro

@coseeian coseeian marked this pull request as ready for review February 1, 2026 13:46
@coseeian coseeian added the Accessibility: Best Practice No obvious current impact, but which may lead to problems in the future label Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accessibility: Best Practice No obvious current impact, but which may lead to problems in the future

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search page missing level-one heading

1 participant