All integrations
Native image accessibility integration

WriteAlt for Sanity Studio

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.

The WriteAlt workflow in Sanity Studio.
  • Runs inside Sanity Studio
  • Keep existing alt text
  • Your WriteAlt API key

How to install

Set up WriteAlt in your Sanity Studio project, then test it on one image.

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

2. Connect the relay

Add an authenticated relay on the same origin as Studio. Set WRITEALT_API_KEY on the server, not in a SANITY_STUDIO_ variable.

3. Generate in Studio

Open WriteAlt in Studio and generate descriptions on drafts you can edit.

Work with image alt text inside Sanity Studio

Find missing alt text across Sanity drafts and write descriptions back to the image fields your frontend already uses.

Studionative editorial tool
Draftssave to existing image fields
Bulkselected images or missing alt

Review images in context

See the document title and image field together, so editors know where each description will be used.

Find missing descriptions

Filter the current page to images with missing alt text across the document types you mapped.

Generate for one image or a selection

Describe a single hero image, a handpicked batch, or the missing images on the current page.

Save to existing draft fields

WriteAlt updates the mapped alt field on an existing draft. Review and publish through your normal workflow.

Keep existing descriptions

Missing-only actions leave written descriptions alone. Use Regenerate when you deliberately want to replace one.

Choose language and tone

Set one language, choose a writing style, and provide optional keywords for the images you select.

Leave assets untouched

Generation does not replace files, update asset references, or publish documents.

Keep the key on your server

The relay checks that the editor is authorized and sends the image to WriteAlt from the server.

Fill the gaps before publishing a post

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.

1

Review images in context

See the document title and image field together, so editors know where each description will be used.

2

Find missing descriptions

Filter the current page to images with missing alt text across the document types you mapped.

3

Save to existing draft fields

WriteAlt updates the mapped alt field on an existing draft. Review and publish through your normal workflow.

4

Keep existing descriptions

Missing-only actions leave written descriptions alone. Use Regenerate when you deliberately want to replace one.

Get started with WriteAlt for Sanity Studio.

Find missing alt text across Sanity drafts and write descriptions back to the image fields your frontend already uses.

View in Sanity Plugins