"Review UI code for Web Interface Guidelines compliance including accessibility, typography, form attributes, and performance."
Instal·la
npx skillscat add cmsfornerd/cmsfornerd2/web-design-guidelines Instal·la des del registre de SkillsCat.
Web Design Guidelines Skill
The web-design-guidelines skill is designed to assist in reviewing web interfaces to ensure they comply with established UI design guidelines, accessibility standards, and UX principles.
Overview
This skill automates the review process, providing developers and designers with a quick and reliable way to evaluate their work against predefined guidelines, helping them improve the overall user experience and accessibility of their sites.
How It Works
- Read specified files or UI code components.
- Check against all rules in the Web Interface Guidelines.
- Output findings in a concise
file:lineformat.
Guidelines & Rules
Accessibility
- Icon-only buttons need
aria-label. - Form controls need
<label>oraria-label. - Interactive elements need keyboard handlers (
onKeyDown/onKeyUp). - Use
<button>for actions,<a>for navigation. - Images need
altattributes (oralt=""if decorative). - Decorative icons need
aria-hidden="true". - Async updates (toasts, validation) need
aria-live="polite". - Use semantic HTML (
<button>,<a>,<label>,<table>) before ARIA. - Headings must be hierarchical (
<h1>–<h6>). - Scroll margin top (
scroll-margin-top) on heading anchors.
Focus States
- Interactive elements need visible focus states (
focus-visible:ring-*or equivalent). - Never use
outline: nonewithout focus replacement. - Use
:focus-visibleover:focus.
Forms
- Inputs need
autocompleteand meaningfulnameattributes. - Use correct
type(email,tel,url,number) andinputmode. - Labels must be clickable.
- Placeholders end with
…(unicode ellipsis) and show example patterns. autocomplete="off"on non-auth fields to avoid password manager triggers.
Typography
- Use
…(unicode ellipsis) instead of.... - Use curly quotes (
“”) instead of straight quotes ("). - Non-breaking spaces for unit formatting (
10 MB,⌘ K). - Loading states end with
…: "Loading…", "Saving…". - Use
text-wrap: balanceortext-prettyon headings.
Images & Performance
<img>tags need explicitwidthandheight(prevents CLS).- Below-the-fold images:
loading="lazy". - Above-the-fold critical images:
fetchpriority="high".
Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-09-06
Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0