semantic-html-css
Installation
SKILL.md
Instructions
When to Use
- Use for landmarks, heading order, focus, motion-safe CSS.
- Prefer
accessibility-auditfor a scored WCAG report. - Prefer
web-design-guidelinesfor SkillCodex doc UI systems.
Raise baseline HTML semantics and CSS quality before or alongside accessibility-audit.
- Landmarks: one
main;navfor primary nav;header/footerroles clear; skip redundantrolewhen native element suffices. - Headings: single logical
h1per page/view; no level skips for styling - fix with CSS. - Interactive: native
buttonvsdivonClick;awith realhreffor navigation; hit targets ≥ 24px (prefer 44px touch). - Focus:
:focus-visiblestyles never removed without replacement; nooutline: nonewithout visible focus ring. - Motion:
prefers-reduced-motion: reduce- replace auto-play loops with static or instant state. - Layout: prefer
flex/grid+gap; avoid deep absolute positioning for primary reading flow.
Outcomes
- Bullet list of markup fixes + CSS tokens to add (spacing, focus ring color).