ReliablePartnerBadge
Vastuu Group "Luotettava Kumppani" trust mark, language-matched, linking to the corresponding Reliable Partner report PDF.
Status: alpha. Group: marketing. Markdown version: /design-system/components/reliable-partner-badge.md
When to use
Trust mark for the Vastuu Group Reliable Partner certification: small in the site footer, medium or large beside pricing and About copy where the certification supports a claim.
When not to use
The contract records no forbidden uses.
Look-alikes
The contract names no look-alike with a deciding condition.
Props
| Prop | Type | Default | Description | Required |
|---|---|---|---|---|
size | "sm" | "md" | "lg" | md | Badge height: sm 32px (footer), md 48px, lg 64px. | No |
href | string | null | none | Link target. Omit for the language-matched Reliable Partner report PDF; pass null to render unlinked. | No |
className | string | none | Additional class name applied to the badge root. | No |
Variants
- Available sizes:
sm,md,lg(defaultmd).
Invalid combinations
The contract records no invalid combinations.
Keyboard
| Key | Behaviour |
|---|---|
| Tab | Moves focus to the badge link. |
| Enter | Activates it (native anchor). |
Rules
Every item under When not to use is a MUST NOT. MUST and SHOULD follow RFC 2119.
| Level | Rule | How it is checked |
|---|---|---|
| MUST | ARIA: The badge image carries a translated alt describing the certification, never an empty alt, because the link has no other accessible name. | Not yet verified: no evidence record. WCAG 4.1.2. |
| MUST | ARIA: The link opens a PDF in a new tab and says so in its title/alt so the context change is not a surprise. | Not yet verified: no evidence record. WCAG 4.1.2. |
| MUST | ARIA: When rendered unlinked (href={null}) the alt still carries the meaning. | Not yet verified: no evidence record. WCAG 4.1.2. |
| MUST | Required stories produce no axe violations at the configured severity. | Automated by npm run test:stories:matrix:ci. WCAG 2.5.8. |
| MUST | The accessibility tree (role, name, state) matches the committed snapshot for every required story. | Automated by npm run test:stories:matrix:ci. WCAG 1.3.1, 4.1.2. |
| MUST | The component remains legible and operable under a real browser forced-colors: active pass. | Automated by npm run test:stories:hc. |
| MUST | Every documented keyboard interaction works as specified. | Not yet verified: no evidence record. WCAG 2.1.1, 2.1.2. |
| MUST | A human completed an end-to-end accessibility review of this component. | Not yet verified: no evidence record. |
Install and import
- In-repo only. ReliablePartnerBadge is not exported from
@digitaltableteur/react, so there is no public import path. - Alpha components are internal and never exported.
Links
- Machine-readable contract (Design System Contract 1.0)
- Markdown version of this page
- Component index as JSON
- All components
- Source: The implementation lives in a private repository. This page, its Markdown twin and the contract are generated from it at build time and are the public source of truth.