1. Install the package
Register writeAlt() in sanity.config.ts and map an existing image field and its alt text field.
npm install @writealt/sanity-plugin-writealt
Find missing alt text across Sanity drafts and write descriptions back to the image fields your frontend already uses.
A WriteAlt account and API key are required for generation.
Set up WriteAlt in your Sanity Studio project, then test it on one image.
Register writeAlt() in sanity.config.ts and map an existing image field and its alt text field.
npm install @writealt/sanity-plugin-writealt
Add an authenticated relay on the same origin as Studio. Set WRITEALT_API_KEY on the server, not in a SANITY_STUDIO_ variable.
Open WriteAlt in Studio and generate descriptions on drafts you can edit.
Find missing alt text across Sanity drafts and write descriptions back to the image fields your frontend already uses.
See the document title and image field together, so editors know where each description will be used.
Filter the current page to images with missing alt text across the document types you mapped.
Describe a single hero image, a handpicked batch, or the missing images on the current page.
WriteAlt updates the mapped alt field on an existing draft. Review and publish through your normal workflow.
Missing-only actions leave written descriptions alone. Use Regenerate when you deliberately want to replace one.
Set one language, choose a writing style, and provide optional keywords for the images you select.
Generation does not replace files, update asset references, or publish documents.
The relay checks that the editor is authorized and sends the image to WriteAlt from the server.
Map your blog post hero image, filter for missing alt text, then generate for the selected drafts. Review each description before publishing. Your frontend should render the same field as the image alt attribute.
See the document title and image field together, so editors know where each description will be used.
Filter the current page to images with missing alt text across the document types you mapped.
WriteAlt updates the mapped alt field on an existing draft. Review and publish through your normal workflow.
Missing-only actions leave written descriptions alone. Use Regenerate when you deliberately want to replace one.
Find missing alt text across Sanity drafts and write descriptions back to the image fields your frontend already uses.