Google Lighthouse scans your web page and marks images without alt text. In this way, you can easily follow them.
How to pass the ” no alt text for image input ” audit?
To fix this problem, you need to go to the HTML source. You need to add sub-attributes for
<input type = "image"> code snippets you see in this resource. Also, what action will happen when the user clicks on the alt text? Find the answer to this question. The
alt text should explain exactly that.
How to write alt text for image input?
- You need to specify the action that will occur when the user clicks the button.
alttext should indicate a purpose related to the image.
- Alt text should not contain non-specific words. For example, do not use the word “chart” in the alt text. Use a more specific definition.
Test Your Website Issues
You can quickly analyze your site