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

empty-heading

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

यह स्किल जाँचती है कि पेज के हर हेडिंग में पढ़ने लायक टेक्स्ट है। यह डेवलपर्स और कंटेंट एडिटर्स के लिए है जो पेज की साफ़ संरचना चाहते हैं।

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

  • ✓जब आपके पेज के किसी हेडिंग टैग के अंदर कोई शब्द न हो।
  • ✓जब स्क्रीन रीडर पेज की रूपरेखा में खाली हेडिंग बताता हो।
  • ✓जब कोई हेडिंग सिर्फ़ जगह छोड़ने या स्टाइल के लिए इस्तेमाल हुआ हो।

Skill का लिंक

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

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

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

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

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

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

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

“क्या आप मेरे पेज पर खाली हेडिंग खोज सकते हैं?”

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

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

एजेंट h1 से h6 तक हेडिंग टैग्स को स्कैन करता है और खाली या सिर्फ़ स्पेस वाली सामग्री खोजता है। वह वर्णनात्मक टेक्स्ट जोड़ने या हेडिंग हटाने का सुझाव देता है।

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

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

Ensure headings contain text

Empty headings create 'ghost' stops in the document outline, confusing users who rely on headings to navigate and understand the page structure.

Quick Reference

  • Add visible, descriptive text to all heading elements (h1-h6)
  • Avoid using headings solely for styling or as empty placeholders
  • Ensure document structure is meaningful for screen reader navigation

Check

Find any heading tags (h1 through h6) that are empty or contain only non-perceivable whitespace.

Fix

Add descriptive text content to the empty heading or remove the heading tag if it's not needed.

Explain

Explain why meaningful heading content is vital for document navigation and accessibility.

Code Review

Review the rendered markup and interactive states that affect Ensure headings contain text. 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/empty-heading

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

खाली हेडिंग क्यों मायने रखते हैं?

स्क्रीन रीडर उपयोगकर्ता हेडिंग के सहारे आगे बढ़ते हैं, इसलिए खाली हेडिंग पर वे उलझ जाते हैं।

क्या हेडिंग का इस्तेमाल स्पेसिंग के लिए करना चाहिए?

स्किल सिर्फ़ स्टाइल के लिए हेडिंग इस्तेमाल करने की सलाह नहीं देती।

हेडिंग में क्या लिखना चाहिए?

स्किल कहती है कि ऐसा साफ़ और वर्णनात्मक टेक्स्ट जोड़ें जो उस हिस्से को समझाए।

जानकारी

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

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure headings contain text. 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
रैंकिंग में स्थान
#2831
लाइसेंस
MIT
अपडेट की गई
31/10/2026

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

0

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

कमेंट

  • …

इस repository की और skills

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