Skip to content

QPixel warns me that images in a post lack alternative captions, yet no images exist. #1889

@RokeJulianLockhart

Description

@RokeJulianLockhart

meta:294873

What The Problem Is

When I attempt to update meta.codidact.com/posts/294861/edit with:

Recently, I posted electrical.codidact.com/comments/thread/11173#comment-27698, which cites two images from Wikipedia, and another from elsewhere.

Although citing versioned MediaWiki URIs from Wikipedia isn't problematic, because they'll never become 404s, I've been forced to cite szapphone.com/wp-content/uploads/2023/11/usb-c-pinout-diagram.webp, because I am unable to paste images into comments, which may well become so.

A workaround may exist: to post an image to an external hoster, 1 then embed that image with a CommonMark hyperlink (![]()). However, I've yet to ascertain whether that operates either, and 2 it, regardless, wouldn't be convenient, nor significantly more stable.

...I see:

<div class="notice is-warning"><ul><li>It looks like you're posting an image with no alt text. Alt text is important for accessibility. Consider adding alt text to the images in your post - <a href="/help/alt-text">read this help article</a> for details and help writing alt text.</li></ul></div>

A Screenshot

However, that markup contains no embedded images:

Recently, I posted [`electrical.codidact.com/comments/thread/11173#comment-27698`](https://electrical.codidact.com/comments/thread/11173#comment-27698), which cites two images from Wikipedia, and another from elsewhere.

Although citing versioned MediaWiki URIs from Wikipedia isn't problematic, because they'll never become 404s, I've been forced to cite [`szapphone.com/wp-content/uploads/2023/11/usb-c-pinout-diagram.webp`](https://www.szapphone.com/wp-content/uploads/2023/11/usb-c-pinout-diagram.webp), because I am unable to paste images into comments, which may well become so.

<del>A workaround may exist: to post an image to an external hoster, [^1] then embed that image with a CommonMark hyperlink (`![]()`). However, I've yet to ascertain whether that operates either, and</del> [^2] it, regardless, wouldn't be convenient, nor *significantly* more stable.

[^2]: [`comments/thread/11190#comment-27707`](https://meta.codidact.com/comments/thread/11190#comment-27707)

[^1]: [`github.com/pixelfed/pixelfed/issues/6211#issue-3553892727`](https://github.com/pixelfed/pixelfed/issues/6211#issue-3553892727:~:text=I%20post%20almost%20solely%20unlisted%20images%2C%20to%20replace%20Imgur)

How To Reproduce It

I don't know, beyond pasting that specific markup. I've yet to reduce it to a minimal reproducible example.

Expected Behaviour

The banner should not appear when no images exist.

My Environment

Version b7103551 (2025-10-17 15:42:56Z)

Footnotes

  1. github.com/pixelfed/pixelfed/issues/6211#issue-3553892727

  2. comments/thread/11190#comment-27707

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions