Missing alt attribute inspection
Detects <img>
elements without the alt
attribute.
Always use the alt
attribute to provide a textual alternative to non-text content (in our case, to screenshots and icons) on web pages.
The purpose of using the alt
attribute is to:
Make the page accessible to people who use screen readers.
Display information about non-textual page elements when they cannot be displayed.
Provide search engines with semantic information about the page contents.
Locating this inspection
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
WrsMissingImgAltInspection- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Writerside, 2024.04.241.15989.11 |