Give Every Image a Correct Alt Attribute
Every <img> needs an alt: describe the purpose for informative images, use an empty alt="" for decorative ones so screen readers skip them. A missing alt makes the file name get read aloud. The alt is also what renders when the image itself fails to load.
Detection
Search for <img> tags with no alt attribute anywhere in the tag, including tags split across lines.
rg -nUP '<img\b(?![^>]*\balt=)[^>]*>' -g '*.tsx' -g '*.jsx' -g '*.html' src/A wrapper that forwards props (<img {...rest} />) matches while every call site passes alt, so check the callers before reporting. The grep also cannot judge an alt that exists but is wrong, so read the decorative images separately: alt="decorative swirl divider" needs to become alt="".
Incorrect (missing alt, and decorative image announced):
<img src="/chart.png" />
<img src="/divider.svg" alt="decorative swirl divider" />Correct (purpose described; decorative image silenced):
<img src="/chart.png" alt="Revenue grew 40% from Q1 to Q2" />
<img src="/divider.svg" alt="" />