Skip to content

Conversation

@akramcodez
Copy link
Contributor

Closes #11353

Technical

  • Convert <div id="test-body-mobile"> to <main> element for landmark navigation
  • Add alt="" to onboarding carousel images (presentational)
  • Change mission statement from <h3> to <p> element
  • Make "Latest blog posts" an <h3> for proper heading hierarchy
  • Add role="search" to search form
  • Set alt="" on browse by subject carousel images (presentational)

Copilot AI review requested due to automatic review settings October 15, 2025 07:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves homepage accessibility by strengthening semantic structure and clarifying assistive technology cues.

  • Replace a generic container with a semantic main landmark for primary content.
  • Add empty alt text to decorative images in onboarding and category carousels.
  • Adjust heading hierarchy and mark the search form as a search landmark.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
openlibrary/templates/site/body.html Wrap primary content in a main element to provide a landmark.
openlibrary/templates/lib/nav_head.html Add role="search" to the search form for better landmark navigation.
openlibrary/templates/home/onboarding_card.html Add alt="" to onboarding images to mark them decorative.
openlibrary/templates/home/categories.html Set category icons’ alt="" to treat them as presentational.
openlibrary/templates/home/about.html Improve heading hierarchy: mission is a paragraph; blog posts heading remains an h3.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@cdrini cdrini self-assigned this Oct 15, 2025
Copy link
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aweeesome, thank you @akramcodez ! Confirmed with a screenreader, working much better now!

@cdrini cdrini merged commit ec5d974 into internetarchive:master Oct 15, 2025
4 checks passed
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.

Improve homepage accessibility

2 participants