In a code editor like VS Code, search for:

<img(?![^>]*\balt=)[^>]*>

This finds <img> tags missing alt. You can then add alt="" manually or in bulk.