Beginner question so forgive me.
I have alt tags on images for accessibility.
However when the image is unavailable it displays the alt which is a title for a movie. Below this is the actual title for the movie. The title is displayed twice which doesn't look great.
So is there a way of not displaying the alt tag? whilst still of course keeping it for screen readers etc?
If so then how.
If not then can you style the alt?
Noob question I know, I just want to stick to best accessibility practices whilst make nice looking sites.
alt
attributes at all as the images are decorative (soalt=""
can be used androle="presentation"
). At the moment it sounds like it is less accessible withalt
attributes as screen reader users would hear the same text twice, once for the image, once again for the title.