--- name: web-design-guidelines description: Web platform design and accessibility guidelines. Use when building web interfaces, auditing accessibility, implementing responsive layouts, or reviewing web UI code. Triggers on tasks involving HTML, CSS, web components, WCAG compliance, responsive design, or web performance. license: MIT metadata: author: platform-design-skills version: "1.0.0" --- # 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. Every rule in this section maps to WCAG 2.2 success criteria at Level A or AA. ### 1.1 Use Semantic HTML Elements Use elements for their intended purpose. Semantic structure provides free accessibility, SEO, and reader-mode support. | Element | Purpose | |---------|---------| | `
` | Primary page content (one per page) | | `