{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-input-image-alt-915130d68fce","title":"Provide Alt Text for Image Buttons","summary":"Add descriptive alt text to `<input type='image'>` elements to ensure screen readers communicate the button's function clearly to users who cannot see the image.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-input-image-alt-915130d68fce","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-input-image-alt-915130d68fce","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-input-image-alt-915130d68fce.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-input-image-alt-915130d68fce\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Ensure the `alt` attribute describes the action performed by the button, not just the image. For example, use 'Submit' or 'Search' as the alt text value.","instructions":"---\nname: input-image-alt\ndescription: \"Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide alt text for image buttons. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.\"\nmetadata:\n  category: accessibility\n  priority: critical\n  difficulty: beginner\n  estimatedTime: \"5\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/accessibility\/input-image-alt\n---\n\n# Provide alt text for image buttons\n\nWithout alt text, screen readers may read the file name of the image, leaving users unable to determine the function of the button.\n\n## Quick Reference\n\n- Add an `alt` attribute to `<input type='image'>`\n- Describe the action of the button, not just the image\n- Ensures the button's purpose is clear to assistive technology\n\n## Check\n\nVerify that all <input type='image'> elements have a non-empty 'alt' attribute.\n\n## Fix\n\nAdd an 'alt' attribute to the <input type='image'> that describes the action performed when the button is clicked (e.g., 'Search', 'Submit').\n\n## Explain\n\nExplain why image buttons require alternative text to communicate their function to users who cannot see the image.\n\n## Code Review\n\nReview the rendered markup and interactive states that affect Provide alt text for image buttons. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/accessibility\/input-image-alt\n","use_cases":["When reviewing HTML for accessibility compliance, ensure all image buttons have appropriate alt text.","When developing a form with image submit buttons, add alt text to describe the action."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/input-image-alt\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T16:38:44.000000Z","updated_at":"2026-11-23T04:55:22.000000Z","seo_title":"Provide alt text for image buttons accessibility","seo_description":"Ensure image buttons have descriptive alt text to improve accessibility for screen reader users. Follow best practices for alt text implementation.","seo_keywords":["alt text for image buttons","accessibility for image buttons","image button alt text","screen reader accessible buttons"]}}