The modal dialog is missing a close button

Link to The modal dialog is missing a close button copied to clipboard

modal-unclosable

Rule

Functionality MUST be available using the keyboard, unless the functionality cannot be accomplished in any known way using a keyboard.

Background

Some people cannot use a mouse due to vision or motor disabilities. Content that can be operated with a mouse must also be made operable with a keyboard. When content is operable through a keyboard, it becomes operable by a variety of assistive technologies such as speech input software, sip-and-puff software, on-screen keyboards, scanning software, and alternate keyboards.

How to Fix

Fix this issue by providing a method to dismiss/close the modal dialog, such as a close button or similar that:

  1. Is keyboard and touch operable and
  2. Works with assistive technology running and
  3. Is visually apparent