Pop-overs - content example

A pop-over (sometimes called a "lightbox") is where some content appears over the page. Generally it (should) prevent access to the page until the pop-over is dismissed, or you follow a link, or submit a form. I think there are three types, names vary but for purpose of this example:

This example deals with the last of these, the content pop-over.

The usual accessibility issue for pop-overs are for keyboard accessibility, as the user ends up tabbing through the background in order to get to the pop-over.

Content pop-over example

trigger pop-over.

Accessibility requirements

A content pop-over element should work with mouse, keyboard and touch-devices at various screen sizes. The basic requirements are that:

It's a trick, get an axe!

Warning: You might find references to HTML5 or WAI-ARIA "dialog", do not use these for content-based pop-overs. They prevent screen reader users from reading the content, they are restricted to form-controls.