newsuk/times-components

Web Image has a hard-coded empty alt tag

colincclark opened this issue · 3 comments

Do you want to request a feature or report a bug?

bug

What is the current behaviour?

The alt tag is empty.

If the current behaviour is a bug, please provide the steps to reproduce.

Render an Image on the web

What is the expected behaviour?

Render an Image on the web with an appropriate alt tag

I think we have an issue with alt text at The Times. The current site uses the image caption field from Methode which does not describe the image. It would also cause the caption to be read out twice by a screen reader so it is also therefore redundant. See below

screen shot 2018-07-17 at 11 44 52

in this case alt="" is probably the best option.

We are going to use a new altText field from Methode so closing this issue.