web-design-guidelines

Installation
Summary

Framework-agnostic rules for accessible, performant, responsive web interfaces aligned with WCAG 2.2 and modern web standards.

  • Comprehensive accessibility guidance covering semantic HTML, ARIA, keyboard navigation, focus management, color contrast, forms, and error handling with specific WCAG success criteria mappings
  • Mobile-first responsive design using modern CSS (clamp, container queries, logical properties) and touch-friendly targets; no horizontal scrolling at 320px width
  • Performance optimization including lazy loading, explicit image dimensions, code splitting, and compositor-friendly animations (transform/opacity only)
  • Dark mode and theming via CSS custom properties with support for prefers-color-scheme, prefers-contrast, and prefers-reduced-motion media queries
  • Internationalization support with logical CSS properties, RTL layout testing, and Intl API usage for locale-aware formatting
SKILL.md

Web Platform Design Guidelines

Framework-agnostic rules for accessible, performant, responsive web interfaces. Based on WCAG 2.2, MDN Web Docs, and modern web platform APIs.


1. Accessibility / WCAG [CRITICAL]

Accessibility is not optional. Most rules in this section map to WCAG 2.2 success criteria at Level A or AA. A small number of best-practice rules (noted inline) target Level AAA or go beyond WCAG.

1.1 Use Semantic HTML Elements

Use elements for their intended purpose. Semantic structure provides free accessibility, SEO, and reader-mode support.

Element Purpose
<main> Primary page content (one per page)
<nav> Navigation blocks
<header> Introductory content or navigational aids
Related skills

More from ehmo/platform-design-skills

Installs
691
GitHub Stars
362
First Seen
Feb 1, 2026