input-image-alt
Installation
SKILL.md
Provide alt text for image buttons
Without alt text, screen readers may read the file name of the image, leaving users unable to determine the function of the button.
Quick Reference
- Add an
altattribute to<input type='image'> - Describe the action of the button, not just the image
- Ensures the button's purpose is clear to assistive technology
Check
Verify that all elements have a non-empty 'alt' attribute.
Fix
Add an 'alt' attribute to the that describes the action performed when the button is clicked (e.g., 'Search', 'Submit').