{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-input-types-fc553438c179","title":"Use Semantic Input Types for Better Mobile UX","summary":"Improve mobile form experience by using semantic HTML input types for email, phone, and number fields. Enhance autofill and keyboard efficiency.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-input-types-fc553438c179","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-input-types-fc553438c179","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-input-types-fc553438c179.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-input-types-fc553438c179\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the input elements are validated in the final rendered HTML, not just the source framework abstraction. Add appropriate autocomplete attributes for autofill support.","instructions":"---\nname: input-types\ndescription: \"Use when reviewing templates, rendered HTML, or shared components related to Use semantic input type attributes. Validate the final browser-facing markup, not just the source framework abstraction.\"\nmetadata:\n  category: html\n  priority: high\n  difficulty: beginner\n  estimatedTime: \"10\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/html\/input-types\n---\n\n# Use semantic input type attributes\n\nUsing type=text for every input forces mobile users to switch keyboards manually for email, phone, and number entry. The correct type also enables browser autofill to correctly identify fields for name, address, and payment data. Combined with autocomplete attributes, semantic types can make form completion 40% faster for returning users.\n\n## Quick Reference\n\n- type=email shows the @ keyboard on mobile and enables email format validation\n- type=tel shows the numeric phone keypad on mobile\n- type=number shows a numeric keypad; use inputmode=numeric for fields that look like numbers but aren't\n- type=date\/time renders native pickers and returns standardized values\n\n## Check\n\nAudit all input elements in this HTML file. Check whether each uses the most appropriate type attribute and autocomplete value.\n\n## Fix\n\nUpdate input type attributes to semantic values and add appropriate autocomplete attributes for autofill support.\n\n## Explain\n\nExplain the different HTML input types, what each one does on mobile keyboards, and how to combine them with autocomplete attributes.\n\n## Code Review\n\nReview templates, server-rendered HTML, and shared components that output markup related to Use semantic input type attributes. 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\/input-types\n","use_cases":["Ensure mobile users get the correct keyboard for email, phone, and number fields.","Enable browser autofill for name, address, and payment data.","Improve form completion speed for returning users."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/input-types\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T16:39:17.000000Z","updated_at":"2026-11-23T04:55:22.000000Z","seo_title":"Use semantic input types for mobile UX","seo_description":"Improve mobile form experience by using semantic HTML input types for email, phone, and number fields. Enhance autofill and keyboard efficiency.","seo_keywords":["semantic input types","mobile form optimization","HTML input types","autofill support","keyboard efficiency"]}}