A banner may communicate an offer, instruction or link. Consider people who cannot see the image, find small text difficult to read or are affected by motion.
Good practices
- Add alternative text that describes the useful message in the image.
- Do not rely on color alone to convey essential information.
- Use readable text and sufficient contrast.
- Avoid rapid flashing and animation that distracts from the content.
- If the link matters, give it a clear accessible name in the page or code around the image.
An animated GIF cannot always respect a browser’s reduced-motion preference. If motion is not essential, consider a still image or a format with suitable playback controls.