Skip to content

Official government website An official website of the Federal Government of Nigeria

How you know
Federal Ministry of Communications, Innovation & Digital Economy Nigerian Design Standards

Office location

Shows where an office or service is: the written address first, with an optional map and a link to directions.

Updated

Live example

Office location
Controls
Property Control What it does
Interactive, static, loading or unavailable
Names the place, for screen readers

Overview

The written address is the real content. Add a map only when it helps people find the place, and always link to directions. The map, its zoom buttons and its marker come from the map provider (Google Maps), so NDS styles only the frame around it.

Use this pattern for

  • A page about a place people visit: an office, a clinic, a test centre
  • A page where the written address is also shown
  • Giving people a direct link to directions

Don’t use a map for

  • Replacing the written address
  • Many locations (list the addresses instead)
  • The footer (keep the footer to text)

States

The map frame’s states. The map itself, with its zoom buttons and marker, is drawn by the provider.

Loading map…

Loading

While the map loads. No directions link yet.

Specifications

The properties of the map embed in this pattern. The same in HTML, WordPress and React.

Office location properties
Property Type Possible values Description
variant string
  • interactive default
  • static
Interactive embeds the provider’s map. Static shows an image that links to the directions. Loading and unavailable are set by the page.
title string
  • any text
Required. Names the place for the map frame, like “Map showing the Ministry, Abuja”.
location string
  • any text
Required. The address or coordinates. One marker only, centred on it.
directionsHref string
  • any URL
Required. The “Get directions in Google Maps” link.

In code, the map is the provider’s <iframe>, with a title that names the place and loading="lazy". NDS doesn’t restyle what is inside it. Tab must move past it without getting stuck. The directions link opens in a new tab and says so with a visually hidden “(opens in new tab)”.

Tokens

Office location tokens and contrast
Part Token Contrast on the page
Map frame border/default 1px · radius/100 · 400px tall on desktop, 240px on mobile Border is decorative
Map, marker and zoom Drawn by the map provider inside the frame. Not NDS tokens —
Address nds-contact-block: address, phone, email and opening hours, beside or under the map 17.6:1
Focus ring border/focus on the directions link 4.5:1
Directions link nds-link Md · icon/external-link (size/icon/sm) 5.6:1
Loading · unavailable surface/subtle · surface/muted · text/primary and text/secondary · Body/small and Body/small-emphasized 6.4:1 or more
Spacing spacing/200 16px · spacing/100 8px (link gap) —

Use cases

Do

Contact us

Offices

Federal Capital Territory

Federal Secretariat, Phase 1
Shehu Shagari Way, Abuja

Lagos

Alausa Secretariat, Block 5
Ikeja

Kano

Audu Bako Secretariat
Kano

Opening hours

Monday to Friday, 8am to 4pm
Closed on public holidays

Put the map next to the written address. nds-contact-map places them side by side.

Don’t

Don’t show a map without the written address. The address is the real content.

Layout

How the address, map and link sit together.

Beside or under the address
Use nds-contact-map: side by side on desktop, stacked on mobile with the map first.
400px tall on desktop
240px on mobile. It fills the width of its column.
Provider controls
Leave the map’s own zoom and marker as the provider draws them.
One place per map
For several offices, list the addresses instead of showing a map.
Not in the footer
Keep the footer to text.

Copywriting

How to write the map title, the link and the fallback text.

Name the place

Map title: “Map showing the Ministry, Abuja”.

Address first

The written address is the content. The map adds to it.

Say where the link goes

“Get directions in Google Maps”, not “Click here” or “View map”.

Say it opens a new tab

Add a visually hidden “(opens in new tab)”.

When the map fails

“The map could not be loaded.” Then point to the address and link.

Plain words
No technical errors or map jargon.

Examples

Office location copywriting examples
Write Don’t write Why
Map showing the Ministry, Abuja Map Names the place.
Get directions in Google Maps Click here Says where it goes.
Get directions in Google Maps (opens in new tab) Get directions Warns about the new tab.
The map could not be loaded Error loading resource Plain words.
Use the address and the directions link Try again later Gives people a way forward.

Accessibility

The written address is the real content, so people who can’t use the map lose nothing.

Keyboard interaction for Office location
Key What it does
Tab Moves past the map without getting stuck, then to the directions link.
Shift+Tab Moves back.
Enter or Space Enter on the directions link opens the directions in a new tab.
  • The map frame has a title that names the place (WCAG 4.1.2).
  • Keyboard focus never gets stuck in the map (WCAG 2.1.2).
  • The provider’s map controls can’t be restyled; the address and directions link work without them, so no one depends on the map (WCAG 2.5.8 is met by the link).
  • The directions link says where it goes and that it opens in a new tab (WCAG 2.4.4).
  • The written address is always on the page, so the map is never the only way to find the place (WCAG 1.1.1).

For developers

Copy the code for HTML, WordPress or React from the Code tab in Live example. The options are listed under Specifications.

For designers

Use nds-contact-map from 01 Library – Foundations: it places nds-contact-block and nds-map-embed together. Hide nds-map-controls: in code, the provider draws the zoom buttons and marker. Don’t detach it.

References

Report a problem with this page