WCAG 4.1.2 · Level A

Aria Dialog Name

What is broken
A dialog opens with no name, so it is announced only as "dialog".
Who it affects
Screen reader users hear an unlabelled control and cannot tell what it does without activating it to find out.
How to fix it
Give every dialog and alertdialog an accessible name.

Check your site for this issue

Free scan — no signup required. Covers WCAG 2.1 AA across 64 rules including this one.

Scan my site →

Automated testing detects roughly a third of WCAG 2.1 success criteria. This rule is detected automatically; issues such as keyboard traps, focus order, and screen-reader flow still require manual review. Not legal advice.