Test every Flash part of the site with the keyboard alone. Replace any part that traps the Tab key or gives screen readers nothing with plain web content: labelled fields, real buttons, captions and a pause button.

A booking box the keyboard cannot leave

A hotel's home page has a Flash slideshow across the top and a Flash booking box beside it. With a mouse, both work well enough, and most staff have never used the site any other way.

A guest without a mouse steps through the page with the Tab key. The focus slips into the booking box and stays there, circling its own fields or doing nothing, leaving the rest of the page out of reach.

A screen reader user fares no better. Where the slideshow and the booking box sit, the reader announces an unnamed object, or skips the space altogether.

Where Flash hides on an older site

Sites built a few years ago often use Flash in places owners no longer think of as Flash. Look for these:

Right-clicking a part of the page brings up a menu that mentions Flash if that part is a Flash movie.

Why the keyboard gets stuck

A Flash movie is a separate program running inside the page. When the keyboard focus enters it, keystrokes go to that program rather than to the browser.

Whether Tab ever returns the focus to the page depends on the browser and on how the movie was built. In some browsers it never does, and only a mouse click elsewhere breaks the loop.

The web accessibility guidelines treat a keyboard trap as a failure at their most basic level, because a visitor who cannot use a mouse has no way out.

What a screen reader finds

Flash can present its buttons and text to screen readers, but only if the developer named every part, and only in some browsers. Most movies were never built with that care.

A slideshow then offers no text for its pictures, and a booking box offers fields with no labels, so the listener hears a string of unnamed fields and buttons.

Even a movie built with care may behave differently from one browser to the next, which makes Flash hard to rely on for anything visitors must be able to use.

Checking every Flash part by keyboard

Put the mouse aside. Click once in the address bar, then work down each page with the Tab key, noting where the focus lands.

When it enters a Flash part, try to use it with Enter, the space bar and the arrow keys. Then try to leave with Tab, and with Shift and Tab together.

Note whether you can always see where the focus is, and try it again in a second browser, since the behaviour differs between them. A part that traps you in either one has failed.

What a plain web version needs

The replacement for each Flash part should be ordinary page content: links and buttons that sit in the normal Tab order and show a visible outline when focused.

A slideshow needs text for each picture, captions where they help, buttons for next and previous, and a way to pause the movement. A booking box needs a label on every field and error messages written in text.

Dates are the hardest part. A plain date field with an example of the format is easier by keyboard than most pop-up calendars.

The same version works on iPhones and iPads, which have never run Flash. Adobe said last November that it would stop developing Flash for phone browsers.

Who should test the replacement

A keyboard test you run yourself catches traps. It cannot tell you how a page sounds to someone who listens to it every day.

Ask a screen reader user, or a professional who tests with screen readers, to try each replacement before it goes live. Fixes are cheapest while the page is still being built.

Keep the keyboard test as a habit afterwards. Every new feature added to the site deserves the same few minutes with the mouse put away.

A worked example

A hairdressing school in Courtenay trains students over a year and runs a student salon, where the public books cuts and colour at reduced prices.

Its home page carried a Flash slideshow of student work and a Flash box for booking salon appointments, both built when the site was new. A client phoned to say she could not book online without a mouse.

Testing showed the focus trapped inside the booking box in two browsers. The slideshow offered a screen reader nothing, and the booking fields had no labels.

The slideshow became five photos in plain page content, each with a caption and a text description, plus a pause button. The booking box was rebuilt as an ordinary form with labelled fields and a plain date field.

A client who uses a screen reader tried the new form before it went live, and two of her suggestions changed the wording of its error messages.

The same form works on the iPads clients carry into the salon, which never showed the old box at all.

The counter-case

A small decorative movie with no controls, which the keyboard passes straight over, does little harm. Test it anyway, because some browsers still give it the focus.

Replacing a large feature, such as a virtual tour, takes time and money. Where it adds little, a set of photos with captions serves visitors as well and can come first.

A booking box supplied by an outside company may not be yours to rebuild. Ask the supplier for a version without Flash, and meanwhile put a phone number and an email address beside the box.

Freeing the keyboard

  1. Put the mouse away and press Tab from the top of each page.
  2. List every Flash part the focus enters.
  3. Try to leave each one with Tab and with Shift and Tab.
  4. Note what has no text, such as slides and buttons.
  5. Replace the booking box first, since nothing else on the page can stand in for it.
  6. Rebuild slideshows as plain images with captions and a pause button.
  7. Ask a screen reader user to try each replacement.

Step five puts the booking box ahead of everything else. A slideshow that traps the keyboard is a nuisance, but a booking box that traps it shuts the visitor out of the one thing they came to do.

The small Flash movies some older sites use for their headings have a simpler replacement, set out in headings drawn by a script instead of a font.


Frequently asked questions

What is a keyboard trap?

A part of a page that the Tab key can enter but not leave. Flash movies often behave this way, leaving keyboard users stuck unless they can reach for a mouse.

Why can a screen reader not read our Flash slideshow?

Flash shows its text and buttons to screen readers only if the movie was built to, and only in some browsers. Most slideshows offer an unnamed object or nothing at all.

How can we test without special software?

Put the mouse aside, press Tab from the top of the page and watch where the focus goes. Use each Flash part, then try to leave it with Tab.

What does a plain replacement for a slideshow need?

Pictures with text descriptions, captions where useful, next and previous buttons in the Tab order, a pause button, and a visible outline showing where the keyboard focus is.

Do iPhones and iPads show Flash content?

No, they never have. A plain web version of each Flash feature serves those visitors too, along with keyboard and screen reader users.

What if an outside company supplies the booking box?

Ask the supplier for a version built without Flash, and test it by keyboard before switching. Until then, offer a phone number and an email address next to it.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Flash slideshow or booking box still on the site?

Tell us which pages carry Flash, and we will test each part by keyboard and outline a plain web replacement.

Start a Conversation