Skip to content

Use translations in snowdodgeball#227

Merged
saranshsaini merged 2 commits into
google:mainfrom
saranshsaini:translate
Dec 20, 2025
Merged

Use translations in snowdodgeball#227
saranshsaini merged 2 commits into
google:mainfrom
saranshsaini:translate

Conversation

@saranshsaini

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread static/scenes/snowdodgeball/index.html Outdated

<div class="instruction-panels">
<div class="instruction-panel">
<img src="img/click-dodge-instruction.png" alt="Click to dodge" class="panel-image">

@Jezzamonn Jezzamonn Dec 17, 2025

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hm. These should be translated too, but it doesn't look like the website infra supports things like msgid= for these. Checking Google style guides, given that these images have captions below, probably best to just replace this with alt="" anyway actually:

https://developers.google.com/tech-writing/accessibility/self-study/write-alt-text#avoid-duplication

Use empty alt text in the following situations:

[...]

  • The image duplicates information that is already expressed in text on the page.

@saranshsaini saranshsaini merged commit 2d02839 into google:main Dec 20, 2025
2 checks passed
saranshsaini added a commit to saranshsaini/santa-tracker-web that referenced this pull request Dec 21, 2025
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