What it checks
For every media item that carriesaltText: countGraphemes(altText) <= 1000.
Counted with Intl.Segmenter, so a compound emoji (๐จโ๐ฉโ๐งโ๐ฆ) is one grapheme โ same counter the platform uses.
Why
Xโs v1.1 metadata endpoint (/1.1/media/metadata/create) caps alt text at 1000 characters. Beyond that the metadata write fails โ and because alt-text writes are best-effort by design (they live on a separate deprecation track from /2/tweets), a silent failure means the tweet posts without accessibility metadata you intended to attach. Preflight makes that explicit.

