KEMBAR78
Additions to "Content with images must be labelled" by mrec · Pull Request #40089 · mdn/content · GitHub
Skip to content

Conversation

mrec
Copy link
Contributor

@mrec mrec commented Jun 26, 2025

Description

Mention that canvas needs aria-label rather than alt, and mention the use of alt="" to signal that an image is purely decorative.

Motivation

I'm new to canvas and was confused when the accessibility checker complained but the linked section only mentioned alt.

The existing text mentions that a label is needed for contentful images, but doesn't say how to stop the checker complaining for images that aren't contentful.

Additional details

N/A

Related issues and pull requests

N/A

Mention that `canvas` needs `aria-label` rather than `alt`, and mention the use of `alt=""` to signal that an image is purely decorative.
@mrec mrec requested a review from a team as a code owner June 26, 2025 01:43
@mrec mrec requested review from scottaohara and removed request for a team June 26, 2025 01:43
@github-actions github-actions bot added Content:Accessibility Accessibility docs size/xs [PR only] 0-5 LoC changed labels Jun 26, 2025
…abels_and_names/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jul 16, 2025

Preview URLs

(comment last updated: 2025-10-21 23:33:08)

@Josh-Cena
Copy link
Member

@scottaohara I believe this is still waiting on your review. Thanks

@Josh-Cena Josh-Cena requested a review from scottaohara October 21, 2025 19:54
@Josh-Cena Josh-Cena merged commit fd60358 into mdn:main Oct 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Accessibility Accessibility docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants