मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)75k · #3012

select-name

यह क्या करती है

यह स्किल जाँचती है कि फ़ॉर्म के हर select ड्रॉपडाउन का सही लेबल या एक्सेसिबल नाम है। यह उन फ़ॉर्म बनाने वाले डेवलपर्स के लिए है जो चाहते हैं कि वे सभी यूज़रों के लिए पूरे हों।

कब इस्तेमाल करें

  • ✓जब आप एजेंट से फ़ॉर्म के ड्रॉपडाउन की एक्सेसिबिलिटी की समीक्षा करवाएँ।
  • ✓जब स्क्रीन रीडर यूज़र ड्रॉपडाउन सुनें पर न जानें कि वह किसलिए है।
  • ✓जब फ़ॉर्म लेबल की जगह पहले विकल्प का इस्तेमाल करे और आप वह ठीक करवाना चाहें।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/select-name/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप जाँच सकते हैं कि मेरे फ़ॉर्म के हर ड्रॉपडाउन का ऐसा लेबल है जिसे स्क्रीन रीडर पढ़ सकें?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट हर select एलिमेंट खोजता है और जाँचता है कि उसका जुड़ा हुआ लेबल, aria-label या aria-labelledby मान है या नहीं। जहाँ कुछ नहीं है, वहाँ वह id के ज़रिए ड्रॉपडाउन से जुड़ने वाला लेबल जोड़ता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Provide accessible names for select elements

Without an accessible name, screen reader users will not know what information the dropdown is asking for, making forms impossible to complete.

Quick Reference

  • Use the <label> element with a matching for attribute for every <select>
  • Alternatively, use aria-label or aria-labelledby if a visible label is not possible
  • Avoid using the first option as a replacement for a proper label

Check

Check that every <select> element in your forms has a valid accessible name or linked label.

Fix

Add a <label> element with a for attribute that matches the id of the <select> tag.

Explain

Explain how accessible names for select elements provide the necessary context for users of assistive technologies.

Code Review

Review the rendered markup and interactive states that affect Provide accessible names for select elements. 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.


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

Rule page: https://frontendchecklist.io/rules/accessibility/select-name

अक्सर पूछे जाने वाले सवाल

ड्रॉपडाउन पर लेबल क्यों चाहिए?

उसके बिना स्क्रीन रीडर यूज़र नहीं जान सकते कि ड्रॉपडाउन कौन-सी जानकारी माँग रहा है, इसलिए फ़ॉर्म पूरा करना असंभव हो सकता है।

क्या पहला विकल्प अच्छा लेबल है?

नहीं। स्किल कहती है कि उचित लेबल की जगह पहले विकल्प का इस्तेमाल न करें।

aria-label कब इस्तेमाल होता है?

स्किल इसे तब सुझाती है जब दिखने वाला लेबल संभव न हो।

जानकारी

लेखक का मूल विवरण

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide accessible names for select elements. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

लोकप्रियता

GitHub स्टार
75k
रैंकिंग में स्थान
#3012
लाइसेंस
MIT
अपडेट की गई
31/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills