Skip to content

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).

  • 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 fieldset with the label as legend. Radio groups have role="radiogroup", so aria-required is allowed on them.
  • Errors: each field gets aria-invalid and aria-describedby pointing 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-focus outline) 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.

  • Every input has a label tied to it (Form.Item htmlFor, unique ids per open editor), or an aria-label where there is no visible label (filters, search, choice rows, field mapping).
  • Icon-only buttons have an aria-label and are at least 24 x 24 px.
  • Status tags use darker text than the Ant Design presets (StatusTag in modules/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"
Terminal window
npm i -g axe-core # or set AXE_PATH to axe.min.js
STUDIO_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.

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.