55

When writing a question, you now have to submit the question to go through an automated review process before being allowed to post it. If the review was successful, it'll give you this message:

Our automated system checked for ways to improve your question and found none.

I noticed, however, that if you include an image and don't include a description, the review... says nothing.

screenshot of a question that has successfully been automatically reviewed, with an image without alt text (just the default "image description here") circled

Even if this isn't going to block the question from being posted, could it at least say something about this? There being no way to improve the question is simply wrong in this case and can be easily detected automatically.

8

3 Answers 3

26

This is now enabled - if any alt text field on an image is now left either empty ([]) or as one of the defaults from the insert image flow or markdown help suggestion ([enter image description here] or [Text]) a warning will be triggered (but won't prevent submission).

Here's how that warning looks:

Image of the new no alt text warning during question review, which says: "Images should have specific alt text briefly explaining what is shown. Try replacing [Text] or [enter image description here].

Image Alt Text

Images should have specific alt text briefly explaining what is shown. Try replacing [Text] or [enter image description here].

(The reasoning behind including [Text] as a default in the warning message is that this is shown as the value for alt text in the suggestion for an image under 'formatting tips' on the markdown editor as shown below; I assumed therefore that some users would potentially just copy this into their answer and change the image URL.)

Image displaying the markdown editor with 'formatting tips' expanded and 'images' option selected, which shows the word "Text" as the alt text placeholder

6
  • 3
    Never seen [Text] used, anywhere, and I'm long time member and uploaded quite a few images. Where is this used? If only e.g. in Teams, perhaps better not include it here as it's confusing - the OP does not see and [Text] and won't know what the warning mean. Commented Jul 4 at 8:15
  • 1
    I've edited my answer to explain this visually...hopefully that makes sense?
    – cart StaffMod
    Commented Jul 4 at 12:07
  • 1
    Also @Spevacus top marks on an excellent bit of alt text in that edit ha
    – cart StaffMod
    Commented Jul 4 at 12:08
  • @cart I was going to leave it blank to be funny, but realized I should probably fill it out...
    – Spevacus
    Commented Jul 4 at 12:50
  • 1
  • 1
    Yeah alright having seen that other thread I can understand how that's potentially confusing. I'll look at rephrasing in a way that captures both more clearly
    – cart StaffMod
    Commented Jul 5 at 12:15
8

Marked this as . We've had some internal discussions regarding doing an accessibility audit, but this isn't yet a concrete roadmap item. We'll review this request in more depth at a later date in the context of other accessibility issues.

1
  • Information only in an image is already discouraged. With no information in text extrapolating and explaining the results to 1) those who cannot see the image, and 2) those who may not understand the information in the image, this is disadvantageous to those using screen readers. Screen readers use alt text and read it out to explain the image. Commented Sep 12, 2021 at 7:28
7

I generally don't add any alt text to images here on SE. But that doesn't mean that I write inaccessible posts. In most cases when I use images, they're for illustration, and if they contain important information that is also present in the main text of the post.

The main goal is to make the post usable even if you can't view the images. Image descriptions aren't sufficient or necessary for that. I also often put a short description of the image directly before it in the main text, so that readers know what they're supposed to look at.

The biggest issue by far is something like a graph with values, or a screenshot of text that isn't repeated in the main text of the post itself.

A naive user getting a prompt to enter an image description might just put something like "graph of X" or "screenshot of error message" in there. But what is actually needed are the actual contents of the image as text, not a description of what is in there. Of course someone with experience and understanding of accessibility won't make that mistake, but that is probably not the group you're targeting with that feature.

I think it is reasonable to point users towards this in the review state. But I would be careful on how to write the guidance for this. It should mostly indicate that you should make sure that the text of your post contains all information, and that you can understand it even without looking at the images (unless that is impossible for the topic).

I also would not make adding the descriptions mandatory (I don't think you're asking for that). Putting the relevant information in the main text also works.

6
  • Indeed. I wrote some guidance for alt text on Codidact; SE might do well to have such a page as well
    – Mithical
    Commented Aug 5, 2020 at 9:37
  • 13
    If there's no alt text, how would someone who can't see know that? Text like "screenshot of error message" is exactly what should be there, assuming the text is already in the main body (as it should be).
    – OrangeDog
    Commented Aug 5, 2020 at 10:42
  • 1
    @OrangeDog I generally have an introductory sentence before a screenshot or most images (e.g. meta.stackexchange.com/questions/335577/…). It should be clear from the context there what the image is supposed to show. Commented Aug 5, 2020 at 11:14
  • 8
    If the description is below the image (for example), the alt text should still say that. Otherwise blind users have no clue whether they are missing something or not.
    – Tsundoku
    Commented Aug 18, 2020 at 19:04
  • 2
    Information only in an image is already discouraged. With no information in text extrapolating and explaining the results to 1) those who cannot see the image, and 2) those who may not understand the information in the image, this is disadvantageous to those using screen readers. Screen readers use alt text and read it out to explain the image. Commented Sep 12, 2021 at 7:26
  • @OrangeDog If you blank out the alt text entirely, that sets alt="" which tells screen readers "this image is purely decorative", and stops them reading out "image".
    – wizzwizz4
    Commented Jun 28 at 14:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .