Agent skill

Platform Design Web: WCAG 2.2 and Responsive Rules for Agents

Platform Design Web is a framework-agnostic SKILL.md built on WCAG 2.2 and MDN, with rules for semantic HTML, keyboard access, contrast, fluid CSS and forms for AI agents.

Install
git clone https://github.com/ehmo/platform-design-skills.git
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

Rules that cite their success criteria

Platform Design Web is the web folder of ehmo's platform-design-skills pack. Its SKILL.md holds framework-agnostic rules based on WCAG 2.2 and MDN Web Docs, in three sections: accessibility, responsive design and forms, with HTML and CSS examples that cite WCAG success criteria.

Many rules in this skill name the WCAG success criterion behind them: SC 2.4.1 for skip links, SC 1.4.3 for contrast, SC 1.4.10 for reflow at 320px, SC 1.3.5 for autocomplete. Reviews can point to a standard.

The file describes itself as framework-agnostic and based on WCAG 2.2, MDN Web Docs and modern web platform APIs. Its frontmatter triggers include HTML, CSS, web components, WCAG compliance and responsive design.

Three sections

  • Accessibility and WCAG is CRITICAL, with twelve rules from semantic elements to label in name.
  • Responsive design is CRITICAL, with seven rules from mobile-first to no horizontal scrolling.
  • Forms is HIGH, covering labels, autocomplete attributes and correct input types.

Details worth knowing

Rule 1.12 covers Label in Name under SC 2.5.3: when a control has visible text, its accessible name must contain it, otherwise voice control users who speak the visible label cannot activate it.

On layout, the skill favors base styles for the smallest viewport, clamp, min and max for fluid sizing, container queries for components, and breakpoints set where content breaks instead of at device widths.

Fit

Good for

  • Agents generating HTML and CSS that need accessible, responsive defaults.
  • Audits of a page against contrast, focus, keyboard and reflow rules.
  • Form work where labels, autocomplete and input types are routinely skipped.

Complementary tools

Use it with UiChemy

UiChemy converts Figma designs into editable Elementor pages. This skill does not drive that conversion. Use it to write your brief, such as requiring visible focus and 44px targets in the design, then check the result. Click Get Started on uichemy.com. Related: fixing-accessibility.