Photo Gallery image with valid Alt text falsely flagged as accessibility error

A page is flagged for an accessibility error despite having valid Alt text.

Reviewed June 3, 2022

The Issue

An image with valid Alt text is flagged as lacking Alt text in an accessibility test (e.g. SiteImprove).

As reported, the image was in Assets and displayed as part of a Photo Gallery.

The image did have Alt text, in the Description field, but the text had a leading space (" abc..."), which apparently confused the test.


Removing the leading space and republishing the image resolved the error.

Was This Information Helpful?

(so we can thank you or request more details)
( addresses only please)