---
title: "A11Y Alt Text"
method: GET
path: "/v1/projects/{project_id}/a11y/alt-text"
tags: ["a11y"]
---

# A11Y Alt Text

`GET /v1/projects/{project_id}/a11y/alt-text`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/a11y/alt-text`
- Auth: none declared

Image alt-text coverage per language (spec §4.3 + §1.3).

Eligible = keys of type `image` (`base_role = alt_text`). This endpoint reads
the BASE value in `translations`, NOT `translation_overrides` — the alt of an
image IS its translated base value. That is the structural difference with
screen-reader and plain-language, hence `surface: null`.
`missing_source_alt` = images with no alt in the SOURCE language.

## Path parameters

- `project_id` string, required

## Query parameters

- `version_id` string, nullable

## Response `200`

Successful Response

- A11yAltTextOut
  - `project_uuid` string, required
  - `version_uuid` string, nullable, required
  - `languages` string[], required
  - `source_language` string, nullable, required
  - `eligible_keys` integer, required
  - `eligible_cells` integer, required
  - `present_cells` integer, required
  - `pct` integer, required
  - `measured` boolean, required
  - `by_language` A11yLangRow[], required
    - `code` string, required
    - `eligible` integer, required
    - `present` integer, required
    - `pct` integer, required
    - `is_source` boolean
  - `formula` object, required
  - `surface` string, nullable, required
  - `key_types` string[], required
  - `missing_source_alt` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
