Accessible Maps and Location Widgets

Mobile & Accessibility2 min readBy the Monopage team

A map is a handy way to show where you are, but an embedded interactive map is often among the least accessible parts of a page. It may trap keyboard focus, steal scrolling on touch screens, and communicate nothing to a screen reader. A few simple additions fix most of the problems.

Always provide the information as text

The most important step is to write the details out in plain text next to the map:

  • Full address
  • Opening hours
  • Phone number
  • Directions from major roads or transport stops
  • Parking and step-free access information

This helps screen reader users, people with low vision, and everyone who just wants to copy the address. Use the same details across your site and listings. See NAP consistency and how to write a contact page.

Offer a link such as "Get directions" that opens the address in the visitor's maps application. Many people prefer their own app, which may have better navigation and accessibility features.

Make the embed itself less problematic

If you embed an interactive map:

  1. Add a descriptive title to the iframe, such as "Map showing our shop location on High Street". See alt text best practices for the idea of text alternatives.
  2. Check keyboard behavior. A keyboard user should be able to tab into and out of the map without getting stuck. If the map captures focus, offer a way out and test with only a keyboard. See keyboard navigation and focus.
  3. Avoid scroll traps. On touch screens and with scroll wheels, maps can capture scrolling so visitors cannot move past them. Settings like requiring two fingers or a click to activate can help, but test how they work.
  4. Keep controls usable. Zoom buttons and other controls should be large and labeled. See touch target sizes for mobile.
  5. Do not hide essential info in the map only. Pin labels and details should be in the text too.

Consider a static image

For a simple "find us" need, a static map image with proper alt text and a link to directions can be easier to use and much faster than an interactive embed. It avoids many keyboard and scroll problems. See how to optimize video and embeds for loading heavy embeds only when needed.

Store locators and filters

A list of locations with search and filters should work without the map. Present results as a list with addresses, and treat the map as an extra. Make filters real form controls. See accessible forms: labels and errors.

Mind privacy

Some map embeds load third-party scripts and may set cookies. Check what yours does and cover it in your policy where necessary. See privacy policy and cookie banner basics and third-party scripts and website speed.

Use structured data

Mark up your address and hours so search engines understand them. See local business schema markup.

Test it

Navigate past the map with a keyboard, listen with a screen reader, and scroll past it on a phone.

Common mistakes

  • Map as the only source of the address
  • No iframe title
  • Keyboard traps
  • A map that blocks scrolling on mobile

Many map interactions rely on pinch and drag. Read accessible mobile gestures.