--- name: html-standards description: HTML standards for Oh My Brand! theme. Semantic elements, accessibility requirements, ARIA attributes, and attribute best practices. Use when writing HTML templates or render output. metadata: author: Wesley Smits version: "1.0.0" --- # HTML Standards HTML standards and accessibility requirements for the Oh My Brand! WordPress FSE theme. --- ## When to Use - Writing block render templates (`render.php`) - Creating HTML structure for Web Components - Ensuring accessibility compliance - Adding proper ARIA labels and attributes --- ## Reference Files | File | Purpose | |------|---------| | [gallery-block.html](references/gallery-block.html) | Complete semantic structure example | | [aria-patterns.html](references/aria-patterns.html) | Live regions, tabs, dialogs, expandable | | [image-patterns.html](references/image-patterns.html) | Alt text, lazy loading, LCP optimization | | [interactive-elements.html](references/interactive-elements.html) | Buttons, links, forms | --- ## Semantic Element Usage | Element | Usage | |---------|-------| | `
` | Self-contained content (blocks, posts) | | `
` | Thematic grouping of content | | `
` | Introductory content or navigational aids | | `