{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-search-input-10b88281862f","title":"Ensure Search Inputs Are Accessible","summary":"Validate search inputs in HTML to ensure they are accessible to all users, including those using screen readers and keyboard navigation. Ensure the use of type='search', role='search', and accessible labels in the final browser-facing markup.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-search-input-10b88281862f","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-search-input-10b88281862f","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-search-input-10b88281862f.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-search-input-10b88281862f\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the search form has a visible or screen reader accessible label, and that autocomplete suggestions are keyboard navigable. Verify that the form uses role='search' and that result counts are announced to screen readers.","instructions":"---\nname: search-input\ndescription: \"Use when reviewing templates, rendered HTML, or shared components related to Make search inputs accessible. Validate the final browser-facing markup, not just the source framework abstraction.\"\nmetadata:\n  category: html\n  priority: medium\n  difficulty: intermediate\n  estimatedTime: \"20\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/html\/search-input\n---\n\n# Make search inputs accessible\n\nSearch is a primary navigation method\u2014inaccessible search functionality prevents users from finding content efficiently regardless of their abilities.\n\n## Quick Reference\n\n- Use type='search' and role='search' on the form\n- Provide visible or screen reader accessible label\n- Make autocomplete suggestions keyboard navigable\n- Announce result counts to screen readers\n\n## Check\n\nVerify search inputs use type='search', have accessible labels, and use role='search' on the containing form.\n\n## Fix\n\nImplement search with type='search', visible or aria-label, form role='search', and accessible autocomplete suggestions.\n\n## Explain\n\nExplain how accessible search implementations help users find content efficiently regardless of their abilities.\n\n## Code Review\n\nReview templates, server-rendered HTML, and shared components that output markup related to Make search inputs accessible. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/html\/search-input\n","use_cases":["Reviewing HTML templates for search input accessibility","Auditing server-rendered HTML for search functionality","Checking shared components that generate search input markup"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/search-input\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T05:32:28.000000Z","updated_at":"2026-11-24T07:12:32.000000Z","seo_title":"Ensure Search Inputs Are Accessible","seo_description":"Ensure search inputs are accessible by using type='search', role='search', and accessible labels. Improve usability for all users.","seo_keywords":["accessible search input","HTML search input accessibility","role search form","screen reader search input","keyboard accessible search"]}}