Images
Images and Accessibility
To optimize accessibility in your store, you should consider the following points when using images:
Add alt text: Images that convey important information should be provided with meaningful alt text. This text describes the content of the image and ensures that users with visual impairments also receive the information. You can store alt text in the metadata of Shopware's media management. Shopware documentation on the metadata area
Use titles for images: In addition to the alt text, you can give each image in the Shopware media area a title. The title provides additional information and is often displayed as a tooltip when the user hovers over the image. You can store title texts in the metadata of Shopware's media management. Shopware documentation on the metadata area
Mark decorative images: Make sure that the alt text is only used if it actually provides added value. Avoid adding alt text to purely decorative images – these should be marked as decorative. In our CMS elements, you can mark images as decorative. This will cause screen readers to ignore these images if they offer no added value and serve only as a visual design. Once an image is marked as decorative, it receives empty alt and title attributes, so it is skipped by screen readers. This setting does not remove the information stored in the metadata, so the image can still be used as a non-decorative image elsewhere.
With these simple yet effective measures, you ensure that your images are accessible to all users, regardless of their abilities.
Last updated
Was this helpful?