A Markdown image's description
The words in : shown only where the picture fails to load, and read in full by any model handed the file.
How the text is hidden
Markdown writes an image as , or as a reference, ![description][label], with the address defined elsewhere in the file. A renderer turns it into an image and puts the description in its alt attribute: shown where the picture fails to load, read aloud by a screen reader, and otherwise absent from the page. The commonest image in a README is a CI or package badge, [![build][badge-image]][badge-url], and its description is a word or two that nobody looks at.
Why a model still reads it
A Markdown file is handed to a model as it is, so the description is ordinary text in it. A person reading the same file on a repository page or a documentation site sees a picture or a badge, and none of the words behind it.
What we do about it
The text parser reads every image in the file, inline and reference forms alike, with the definitions read first. Code spans, autolinks, raw HTML tags and link addresses are skipped whole, so a bracket inside one cannot hide a description. A description runs to the end of its paragraph across line breaks, as GitHub renders it. Each is reported as txt.markdown-alt-text, informational, action disclose, the twin of docx.alt-text: a description is an accessibility feature almost every image carries, and almost never an attack. The document stays clean and is not certified. There is no exception for a badge, because the image's address is the author's to choose, and excusing a badge host would let a payload through on one address. Text written as an instruction escalates to high. A Markdown file that opens with an HTML tag is read as a web page, and since 0.298.0 it is read a second time as Markdown, so its descriptions are still reported.
How often it fires
23.2% of 879 real text files — 384 public-sector text files (GovDocs1) and 495 developer documentation files (README, changelog, licence), measured 2026-10-02.
This is an alert-volume number and nothing else. It says how often the alarm sounds on documents as found — not how often it is right, and not whether what it found was harmless. Documents as found may themselves carry concealment. Read it against the population named above rather than as a property of documents in general.
Check your own file
Three commands: a key, credit, a verdict.
Start with the API