← #5 Wrap arrow function body in parentheses
#6

Indicate img elements that miss alt attribute

Topics: A11y, Accessibility, CSS

The following CSS gives a red outline to any img having a missing or blank alt attribute:

img:not([alt]),
img[alt=""]
{
outline: 8px solid red;
}

If you are using Visual Studio Code, you can install the webhint extension. It will automatically detect the issue and show the details when you hover on the element.

webhint image

Fix a typo or suggest an improvement
#7 Use underscores to represent a number