Code Inspection: Missing required 'alt' attribute
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports a missing alt
attribute in a img
or applet
tag or in a area
element of an image map. Suggests adding a required attribute with a text alternative for the contents of the tag. Based on WCAG 2.0: H24, H35, H36, H37.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.