Skip to content
Skillpedia
Websites & UI (frontend)75k · #3011

search-input

What it does

This skill checks the search box and search form on a site and makes them usable for everyone, including people who rely on screen readers or keyboards. It is for web builders who want visitors to find content easily.

When to use it

  • ✓When you ask the agent to review the search box on your website for accessibility.
  • ✓When screen reader users cannot tell what a search field is for.
  • ✓When you add autocomplete suggestions and want them to work with a keyboard.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/search-input/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/search-input/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check my site's search box to make sure screen reader users and keyboard users can use it?”

5 new skills a week. 1 minute to read.

How it works

The agent checks that the search field uses the search input type, has a visible or screen reader label, and sits inside a form with the search role. It also checks that suggestions can be reached with the keyboard and that result counts are announced.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Make search inputs accessible

Search is a primary navigation method—inaccessible search functionality prevents users from finding content efficiently regardless of their abilities.

Quick Reference

  • Use type='search' and role='search' on the form
  • Provide visible or screen reader accessible label
  • Make autocomplete suggestions keyboard navigable
  • Announce result counts to screen readers

Check

Verify search inputs use type='search', have accessible labels, and use role='search' on the containing form.

Fix

Implement search with type='search', visible or aria-label, form role='search', and accessible autocomplete suggestions.

Explain

Explain how accessible search implementations help users find content efficiently regardless of their abilities.

Code Review

Review 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.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/html/search-input

FAQ

Why does search need to be accessible?

The skill says search is a primary way people move around a site, so a broken search blocks them from finding content.

Does the agent change the look of the search box?

It can add an aria-label when the design hides the visible label, so the look does not have to change.

How are results announced?

The skill suggests announcing the number of results to screen readers as they update.

Details

Original description by the author

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.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#3011
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills