Results / Ant Design

Ant Design dialog

91% against antd@6.6.0. Every check below cites the clause it measures, and every failure carries the command that reproduces it.

Reproduce this whole run

Serve the adapter from a clone of the repository, then:

npx @railing-dev/runner run --target antd --component dialog \
  --repeat 3 \
  --base-url http://localhost:5180

Or replay it without running anything: download the Playwright trace and open it with npx playwright show-trace.

Focus left the dialog after 4 Tab presses.

Check
dialog.tab-never-leaves-dialog
Status
fail
Severity
moderate
Why it matters
A tab stop on nothing gives a keyboard user no feedback and no way to tell whether they have fallen out of the dialog. They have not, and can carry on, which is why this is not a blocker, but the APG asks Tab to cycle among the dialog's own elements.
Expected
focus stays on the dialog's own elements throughout the cycle
Measured
<body> (nothing focused)
Measured against
APG pattern · WCAG 2.4.3 Focus Order
Reproduce
npx @railing-dev/runner run --target antd --component dialog \
  --only dialog.tab-never-leaves-dialog \
  --base-url http://localhost:5180

Background content is still exposed to assistive technology while the modal is open.

Check
dialog.background-inert
Status
fail
Severity
serious
Why it matters
A modal is visually exclusive. If the page behind it is still in the accessibility tree, a screen reader user can read and operate content that a sighted user cannot reach.
Expected
hr-outside-content hidden from the accessibility tree (aria-hidden, inert, or equivalent)
Measured
hr-outside-content still present and not ignored
Measured against
APG pattern · WCAG 4.1.2 Name, Role, Value
Reproduce
npx @railing-dev/runner run --target antd --component dialog \
  --only dialog.background-inert \
  --base-url http://localhost:5180

What this cannot tell you

A high score means no violations were detected by automated testing. It does not mean the component is accessible. Automated tests cannot judge whether a label is meaningful, whether a reading order makes sense, or whether the experience is usable with a screen reader. Those need human judgement and disabled users. This is a floor, not a ceiling.