modern-accessible-html-jsx

Write clean, modern, and highly accessible HTML & JSX code, using semantically correct elements and attributes

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "modern-accessible-html-jsx" with this command: npx skills add academind/ai-config/academind-ai-config-modern-accessible-html-jsx

Clean & Accessible HTML

We write semantic, accessible, standards-compliant HTML by default. Accessibility is a baseline requirement, not an enhancement.

Semantics First

  • PREFER semantic elements (header, nav, main, section, article, footer)
  • AVOID generic div/span usage when a semantic element exists
  • Use correct heading hierarchy (h1h6) without skipping levels

Accessibility

  • ALWAYS ensure interactive elements are keyboard accessible
  • PREFER native HTML elements over ARIA whenever possible
  • DO NOT use ARIA to fix bad HTML semantics
  • Provide accessible names for all interactive controls
    • Labels for inputs
    • aria-label or visible text where required

Forms & Inputs

  • ALWAYS associate labels with form controls
  • PREFER native validation and input types (email, url, number, etc.)
  • Ensure error messages are accessible and announced properly

Images & Media

  • ALWAYS provide meaningful alt text for images
  • Use empty alt="" only for purely decorative images
  • Provide captions (figcaption) where context matters

Landmarks & Structure

  • Use landmark roles implicitly via semantic elements
  • Ensure a single, clear main region
  • Structure content for screen readers, not just visual layout

General Principles

  • HTML is the foundation — do not fight it
  • Accessibility is non-negotiable
  • If it works without CSS or JS, it’s probably correct

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

clean-typescript

No summary provided by upstream source.

Repository SourceNeeds Review
General

modern-best-practice-nextjs

No summary provided by upstream source.

Repository SourceNeeds Review
General

modern-best-practice-react-components

No summary provided by upstream source.

Repository SourceNeeds Review
Security

web-security

No summary provided by upstream source.

Repository SourceNeeds Review