Skip to content

feat(a11y): Improve accessibility of scroll and retro buttons#220

Merged
Jezzamonn merged 2 commits into
google:mainfrom
KenTandrian:a11y/modvil-arrow-and-village
Dec 9, 2025
Merged

feat(a11y): Improve accessibility of scroll and retro buttons#220
Jezzamonn merged 2 commits into
google:mainfrom
KenTandrian:a11y/modvil-arrow-and-village

Conversation

@KenTandrian

Copy link
Copy Markdown
Collaborator

This PR improves the accessibility of the Santa Tracker village (modvil) by adding descriptive aria-label attributes to key interactive elements, ensuring a better experience for screen reader users.

Changes

  • Retro Button: An aria-label has been added to the "retro" button to clearly state its function: "View Santa in Retro scene".
  • Scroll Arrow Button: The scroll arrow button's aria-label is now dynamically generated to include both the direction and the target of the scroll (e.g., "Scroll down to village"), providing more context to the user.

Impacted UI components

  • Scroll up to top button
  • Scroll down to village button
  • Retro Santa button

Adds an `aria-label` to the scroll arrow button in `modvil-arrow.js` to improve screen reader accessibility.
Adds an `aria-label` to the retro button in `modvil-village.js` to improve screen reader accessibility.
@Jezzamonn
Jezzamonn merged commit 43c2b09 into google:main Dec 9, 2025
1 check passed
@KenTandrian
KenTandrian deleted the a11y/modvil-arrow-and-village branch December 9, 2025 23:35
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.

3 participants