Accessibility · ARIA

ARIA dialog without an accessible name

An element on this page has role="dialog" but no aria-label or aria-labelledby, so screen readers cannot say what the dialog is about.

How this page is built

The box below has role="dialog". It has no aria-label or aria-labelledby, so its name is empty.

Why it matters

When a dialog opens, screen readers announce its role and name so the user knows what has appeared and why. A dialog without a name is announced only as “dialog”, which gives no context, especially when it opens without warning.

Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.

How to check it

Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule aria-dialog-name.

How to fix it

Point aria-labelledby at the dialog’s heading, or add an aria-label. A native <dialog> element still needs a name in the same way.

Back to all tests