Skip to content

Conversation

@miniwater
Copy link
Contributor

Fix Lighthouse prompt

Image elements have an [alt] attribute that belongs to redundant text.

Explanatory elements should strive to use brief descriptive language instead of text. If the substitute text is identical to the text next to the link or image, it may confuse screen reader users as they will hear the same content twice.

Alternative text of images should not be repeated as text

@netlify
Copy link

netlify bot commented Apr 16, 2025

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit 0177d3a
🔍 Latest deploy log https://app.netlify.com/projects/hugo-hextra/deploys/682fbc3821940400087bc537
😎 Deploy Preview https://deploy-preview-669--hugo-hextra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@imfing imfing requested a review from Copilot May 23, 2025 00:00
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

Refines the alt attributes on navbar logo images to prevent redundant text and satisfy accessibility checks.

  • Updated alt text for light and dark mode logos to add context.
  • Ensures each logo’s alternative text differs from the adjacent site title.

@imfing imfing changed the title Alternative text of images should not be repeated as text fix: alternative text of images should not be repeated as text May 23, 2025
@imfing imfing merged commit 51b5de2 into imfing:main May 23, 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.

2 participants