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 #Navigation #Conception #Development


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


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.


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

Business application and benefits

The rules should be applied to your projects from the design phase through to post-implementation , and they should be understood by all professionals with web and customer experience (CX) responsibilities: from strategy to operations, marketers to project managers, and editorial to technical staff. The benefits of using this ruleset are numerous, including improving customer satisfaction, web performance, and e-commerce, and expanding your client base, while also decreasing your errors and costs.

Multidisciplinary verticles - accessiiblity, SEO, e-commerce, ecodesign etc..- starting from the foundational Opquast base.

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 11,000 web professionals to have their skills certified. Train your teams or your students, contact us