An alt Decision Tree Using Only :has()

Nu Checker results. Used in my post An alt Decision Tree Using Only :has().

Does the image contain text?

If yes, the image contains text…

If no, the image contains no text…

Is the image used in a link or a button, and would it be hard or impossible to understand what the link or the button does, if the image wasn’t there?

If yes, the image is contained in a control…

If no, the image is not contained in a control…

Does the image contribute meaning to the current page or context?

If yes, the image contributes meaning…

If no, the image contributes no meaning…

Is the image purely decorative or not intended for the user?

If yes, the image is purely decorative…

If no, the image is not purely decorative…

Is the image’s use not listed above or it’s unclear what alt text to provide?

If yes, the image’s use is not listed above…

If no, because the image’s use is listed above…