How-to · WordPress (self-hosted)
Add alt text to images on WordPress
Where to add alt text (image descriptions) to images on your WordPress site, including product images, and what each field is called.
Steps checked against the platform’s own help pages on 27 October 2026. Menus move; if yours look different, tell us and we’ll update this page.
In WordPress you can set alt text on each Image block, or once in the Media Library as the default.
Steps
- In the editor, select the Image block.
- Open the Settings sidebar and the block’s settings.
- Type in Alternative text, or tick Mark as decorative for purely decorative images.
- To set a default for future uses of an image: go to Media > Library, click the image and fill in Alt Text under Attachment Details. It saves automatically.
Good to know
- Alt text set in a block applies to that post or page only; the Media Library value is the default when the image is inserted again.
Not sure what to write? See how to write alt text, then check your pages with the alt text checker.
Add alt text on other platforms
More how-tos for WordPress (self-hosted)
Sources
Filed under Getting foundAccessibility
Next step
Not sure where your own business stands?
A two-minute check-up shows where you are losing time and customers, and what to fix first.


