Accessibility
Target: WCAG 2.2 level AA for the forms on the website and for the PimKit Studio screens. Checked with
axe-core (rules tagged wcag2a, wcag2aa, wcag21a, wcag21aa, wcag22aa).
Website forms
Section titled “Website forms”- Every field has a visible label tied to its input. Required fields say “(required)” in words, not only with a star.
- Radio buttons and checkbox lists sit in a
fieldsetwith the label aslegend. Radio groups haverole="radiogroup", soaria-requiredis allowed on them. - Errors: each field gets
aria-invalidandaria-describedbypointing at its message. After a failed send, an error summary at the top takes the focus and links to each field. The links are at least 24 px high. - Success messages use
role="status", so screen readers read them. - Works without JavaScript: the server shows the same errors and summary after a normal post.
- Conditions hide fields with
hidden, so hidden fields are gone for screen readers too. - Focus is always visible (
--pk-focusoutline) in the plain theme.
The plain theme’s colours meet 4.5:1. With bootstrap5 or tailwind the site’s own CSS decides the colours.
Studio screens
Section titled “Studio screens”- Every input has a label tied to it (Form.Item
htmlFor, unique ids per open editor), or anaria-labelwhere there is no visible label (filters, search, choice rows, field mapping). - Icon-only buttons have an
aria-labeland are at least 24 x 24 px. - Status tags use darker text than the Ant Design presets (
StatusTaginmodules/shared/a11y.tsx). - The canvas: drag and drop is for the mouse. With the keyboard, Tab to a field and press Enter to open its settings; the palette buttons add a field at the end.
Known issues in Pimcore Studio itself, outside PimKit’s markup (the check skips these):
| axe rule | Where |
|---|---|
aria-command-name |
Studio Grid sort buttons, SplitLayout resize handle |
aria-required-children |
Ant Design Tree (hidden keyboard input, drag nodes) |
nested-interactive |
Studio Tabs put a <button> inside role="tab" |
Running the check
Section titled “Running the check”npm i -g axe-core # or set AXE_PATH to axe.min.jsSTUDIO_URL=http://localhost:8090 node tests/e2e/accessibility.e2e.cjs [screenshot-dir]It needs the sandbox page /pimkit-form-test (with the jobs form) and checks: the form, its errors with and
without JavaScript, the success message, the double opt-in page, the forms list, every editor tab, field settings,
Submissions and Forms settings. Any violation in PimKit markup fails it.
Translations
Section titled “Translations”Studio texts (translations/studio.*.yaml), website texts (pimkit_forms.*.yaml) and validation messages
(validators.*.yaml) exist in English and German, with the same keys and placeholders.