Picto thématique

Rule n° 157 - Newly dimensioned windows and modal windows are equipped with an explicit close button.

Close a browser window seems obvious? This is not the case for all users, some (seniors, low vision, mobile users or beginners) may have difficulties. So factor them in.

#Accessibility #Conception #Development #Navigation

Goal

  • Give users explicit information.
  • Speed up access to the content.

Implementation

Place, in each sized or modal window, a button or a link with explicit wording for closing and associate this button with a closing action.

Control

For each "real" window (sized popup) or each simulated window displayed overlaying the content (modal window), regardless of the technology used:

  • Check that the body of the sized windows and modal windows contains a button or a link to close them;
  • Check that the wording of the button or closing link is explicit.

Windows which are only closed implicitly, for example via the escape key, invalidate this best practice.

By Opquast - Read the license


Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 19,000 web professionals to have their skills certified. Train your teams, contact us

We offer a 1 hour free discovery module.