Accessibility

Custom controls and dialogs with no name

One of the 156 checks Lala SEO runs on every page of a site in a free audit.

How serious
Worth fixing. Weakens how Google reads or shows the page. Fix after the serious ones.
Score
Reported, but it does not lower your site's score.
Based on
Industry standard: Google does not document this one, so the check follows established practice.

What is wrong

Custom controls and dialogs on your site lack accessible names that screen readers can announce. When you build interactive elements from scratch—buttons, toggles, dropdown menus, or pop-up windows—instead of using standard HTML elements, you must tell assistive technology what those controls do. Without a name, a visually impaired visitor hears only "button" or "dialog" with no clue what it does or how it affects the page.

Why it costs you

Your visitors using screen readers cannot operate these controls effectively. They cannot tell which button opens what, which toggle does what, or what information a dialog contains. This means they may abandon your site or submit forms incorrectly. It also puts you at legal risk if your visitors choose to challenge accessibility compliance.

How to fix it

Add an accessible name to each custom control by using the `aria-label` attribute with a clear, concise description of what the control does. For example, `<div role="button" aria-label="Close menu">×</div>`. If the control's purpose is already visible on screen in text, use `aria-labelledby` instead to point to that text element. Make this change in your page templates so it applies to all instances of each control, not one page at a time.

What the audit tests

  • Elements given the link or menuitem role have text or a label
  • Custom text boxes, combo boxes, list boxes, sliders and spin buttons have a label
  • Custom checkboxes, radio buttons and switches have text or a label
  • Elements given the meter role have a label
  • Elements given the progressbar role have a label
  • Tooltips have text a screen reader can read
  • Tree menu items have text or a label
  • Dialogs and alert dialogs have a name (aria-label or aria-labelledby)
  • The <summary> that opens a <details> section has text
  • Frames that show different pages do not share the same title

Check your site

Run a free audit of up to 300 pages. No card needed.

Start a free audit

Other accessibility checks

All SEO checks