Apply these requirements to make content and controls usable by everyone.
The standard
WCAG 2.2 level AA applies to everything we publish: websites, landing pages, the Rosepetal app, PDFs, slides, emails and videos. It is also the level that European accessibility law expects through EN 301 549. The rules below translate it into our brand; when in doubt, the WCAG success criterion wins.
| Principle | What it means for us |
|---|---|
| Perceivable | Contrast from the approved pairings, text alternatives, captions, nothing conveyed by colour alone |
| Operable | Keyboard access everywhere, a visible focus ring, generous targets, motion that respects the system setting |
| Understandable | Plain language in English, Spanish and Catalan, predictable navigation, clear form errors |
| Robust | Semantic HTML first, ARIA only to fill gaps, tested with real assistive technology |
Contrast
Every pairing below is measured from the token values when the guide is built; a pairing below its minimum stops the build.
| Pairing | Colours | Ratio | Required |
|---|---|---|---|
| AaText on white | #0F1729 / #FFFFFF | 17.87:1 | Text 4.5:1 |
| AaSecondary text on white | #4B5563 / #FFFFFF | 7.56:1 | Text 4.5:1 |
| AaMetadata and placeholders | #64748B / #FFFFFF | 4.76:1 | Text 4.5:1 |
| AaLinks and text actions | #3664B3 / #FFFFFF | 5.78:1 | Text 4.5:1 |
| AaLinks on section grey | #3664B3 / #F1F5F9 | 5.28:1 | Text 4.5:1 |
| AaWhite on brand blue | #FFFFFF / #17356E | 11.86:1 | Text 4.5:1 |
| AaLight blue on brand blue | #A7BFE4 / #17356E | 6.33:1 | Text 4.5:1 |
| AaWhite on deep blue | #FFFFFF / #10254C | 15.10:1 | Text 4.5:1 |
| AaSuccess text and icons | #15803D / #FFFFFF | 5.02:1 | Text 4.5:1 |
| AaWhite on success | #FFFFFF / #15803D | 5.02:1 | Text 4.5:1 |
| AaInk on warning | #0F1729 / #D97706 | 5.61:1 | Text 4.5:1 |
| AaWhite on error | #FFFFFF / #DC2626 | 4.83:1 | Text 4.5:1 |
| AaText on dark | #F1F5F9 / #0B1220 | 17.09:1 | Text 4.5:1 |
| AaSecondary text on dark | #94A3B8 / #0B1220 | 7.30:1 | Text 4.5:1 |
| AaLinks on dark | #7C9FD7 / #0B1220 | 6.95:1 | Text 4.5:1 |
| Field and control borders | #64748B / #FFFFFF | 4.76:1 | Control 3:1 |
| Focus ring | #3664B3 / #FFFFFF | 5.78:1 | Control 3:1 |
- Text needs 4.5:1, or 3:1 when it is at least 24 px, or 18.7 px bold (14 pt).
- Controls and meaningful graphics need 3:1: field borders, toggles, focus rings, chart lines, detection boxes and status icons.
- Never colour alone. A status pairs its colour with an icon and a word; chart series have a legend or direct labels; detections have a label and a verdict.
- Light blue
#A7BFE4is for text on blue backgrounds only; on white it is decoration, not text. - Form field borders are
#64748B(--ais-border-strong), which reaches 3:1, in every product and site. - Success text and icons use the success green
#15803D(5:1 on white), which is also the fill under white text. The lighter#16A34Areaches only 3.3:1 on white and is never used for text or under it.
Type and reading
- On websites, body text is 16 px and nothing is smaller than 12 px; in printed and PDF documents nothing is smaller than 8.5 pt. In product interfaces, anything people read is at least 14 px; 12 px is only for chart axes and keyboard keys.
- Pages reflow at 320 CSS px wide and at 200% zoom without horizontal scrolling or lost content.
- Layouts tolerate user text spacing: 1.5 line height, 2× paragraph spacing, 0.12 em letter spacing, 0.16 em word spacing.
- Number ranges, file and product names and hyphenated words never break across lines.
- Text stays real text: never an image of text, never text baked into a photograph.
Keyboard and focus
- Every action works with a keyboard, in an order that follows the visual layout. Nothing traps focus.
- The focus ring (
--ais-focus-ring, 2 px action blue with a 2 px white gap) appears on every interactive element and is never removed. - Sticky headers never cover the focused element: pages set
scroll-padding-topto the header height. - Every page starts with a skip link to the main content.
Targets
Interactive targets are at least 24 × 24 px. On websites and operator screens, primary actions, navigation, touch targets, controls used by gloved operators and icon-only buttons are 44 × 44 px. Desktop product toolbars may use 36 px buttons with 16 px icons. Inline text links are exempt but keep their underline.
Motion and media
- All motion follows Motion and stops when the system asks for reduced motion.
- Nothing flashes more than three times per second.
- Anything that moves or updates on its own for more than five seconds has a pause control, except purely decorative header effects and the logo strip, which pauses on hover and off screen.
- Video never plays sound by itself. Every video has captions; content carried only by the picture gets audio description or a transcript.
Images, illustrations and charts
| Content | Text alternative |
|---|---|
| Photograph that informs | What the image proves, in one sentence: «AIS REV 360 inspecting wine bottles on a bottling line.» |
| Detection or result | The verdict and the finding: «Rejected: the lot number reads A2391, expected A2319.» |
| Illustration | What it explains, as in the library captions |
| Chart | Title and a one-sentence finding as the alternative, plus a table view with the data |
| Logo | The brand name only; never «logo of» |
| Decorative image or icon next to its label | Empty alternative (alt="") or aria-hidden="true" |
Forms
- Every field has a visible label above it; placeholders are examples, never labels.
- Help text sits under the label and is linked to the field.
- Errors appear next to the field in text with an error icon, are announced to screen readers, and say how to fix the problem.
- Required fields are marked in words, not only with an asterisk.
Language and content
- Every page declares its language (
lang="en",lang="es",lang="ca"), and passages in another language declare theirs. - Headings run in order without skipping levels, and each page has one H1.
- Link text says where it goes: «Download the AIS REV 360 datasheet (PDF, 2 MB)», never «click here».
- Write in plain language, following Voice.
Documents and slides
- PDFs are tagged (PDF/UA), with a title, a language, headings, a reading order and alternatives for every informative image.
- Slides have a unique title each, use the type sizes in Typography, and keep reading order from top left.
- Never deliver a scanned or flattened document as the only version.
Testing
Every release of a website, landing page or product screen passes these checks before it ships.
| Check | How | Pass |
|---|---|---|
| Automated | axe-core on every page template, at desktop and phone widths | No violations |
| Brand check | The brand check script on every page template | No findings |
| Type and hover | type-check.mjs and hover-audit.mjs on every template |
No text outside the ten styles; one hover behaviour per kind of link |
| States | Screenshot every hover, open menu, focus state, mobile menu and overlay, in every theme | Every state matches the guide; the scripts cannot see states |
| Keyboard | Tab through every page and complete every task | Everything reachable, focus always visible |
| Screen reader | NVDA with Firefox or Chrome; VoiceOver with Safari | Tasks complete, content in order |
| Zoom and reflow | 200% zoom and a 320 px wide window | Nothing lost or cut, no sideways scrolling |
| Reduced motion | Turn on the system setting | No movement, nothing missing |
| Colour | Colour-blindness simulation on charts and status | Every meaning still readable |
This guide is held to the same bar: every page passes axe-core with WCAG 2.2 AA rules at desktop and phone widths, and the brand check.