Build the amounts as one group of radio buttons, give the other amount field a visible label, and make the monthly option a labelled checkbox. Styled to look like boxes and switches, they work for every donor.

A donor who cannot choose an amount

A charity's year-end appeal goes out by email, and its button leads to the donation page. Four coloured boxes offer $25, $50, $100 and $250, with an empty field beside them.

Below sits a switch that slides and turns green for a monthly gift. With a mouse it all works, and it looks clean.

A keyboard user presses Tab to reach the amounts and lands in the empty field instead, skipping the boxes. A donor using screen reading software hears "edit text" and nothing about amounts.

Both wanted to give before the end of the year. Neither could tell what the page expected of them.

Why the boxes do not work for everyone

The boxes look like buttons but are plain blocks of text, made clickable by a script. They cannot be reached with the Tab key, and they tell screen reading software nothing.

Real form controls, such as radio buttons, checkboxes, text fields and buttons, come with keyboard support built in, and they announce their name, their role and whether they are selected.

The selected box shows its state only by changing colour, and so does the switch. A donor who cannot tell the colours apart, or whose screen is in bright sunlight, sees no change.

What each part of the form needs

Each part of the page has a plain form control that already does the job:

The first matters most to keyboard users. In a radio group, the Tab key reaches the group and the arrow keys move between amounts, which is how the controls are meant to work.

Styled to match the design

The design can stay as it is. A designer can style each radio button's label as a box, hide the small circle from view, and keep the control itself working underneath.

The checkbox can look like the sliding switch, as long as its label says what it does and its state is shown in more than colour.

Done this way, the page looks the same to a mouse user and works for everyone else. The difference lies in what the page is built from.

The other amount field

A field with no label, or only grey hint text that disappears when typing starts, leaves donors guessing whether to type a dollar sign, cents or words.

Give it a label that stays visible, such as "Other amount, in dollars", and accept whatever format people type, with or without the dollar sign.

When someone types an amount, the radio buttons above should clear, so the form never sends two amounts and the donor knows which one counts.

A worked example

A minor lacrosse association in Maple Ridge runs box lacrosse for children each spring. Every December it appeals for a fund that covers registration and gear for families who cannot afford them.

Its donation page came from a template with amount tiles, an unlabelled other amount field and a monthly switch. A supporter who uses only the keyboard wrote to say the amounts could not be chosen.

A designer rebuilt the tiles as a group of radio buttons styled to look the same, with a bold outline showing where the keyboard is.

The other amount field gained a visible label, and the switch became a checkbox labelled "Give this amount every month", with a tick and the word "Monthly" when it is on.

The volunteer who maintains the site then tried the whole form with the keyboard alone, and listened to it with screen reading software, from the first amount to the payment page.

Built as a real group, the tiles let the keyboard move through the amounts while the software says which one is selected.

Telling donors what happened

When something is missing, such as an amount or an email address, say so in words beside the field and move the keyboard there, rather than only outlining the box in red.

After the gift goes through, the confirmation page should state in words that it worked, with the amount and whether it repeats monthly.

A donor using screen reading software cannot see a green tick appear. The words are what tell them their gift arrived.

Testing the form yourself

Put the mouse aside and try to give $50 a month using only the keyboard: Tab to move, the arrow keys within a group, the space bar to tick a box.

Then listen to the form with screen reading software. Free versions exist for Windows, and Macs, iPhones and iPads have one built in.

Test the payment page that follows too. If it belongs to a payment service, check it the same way and raise any problem with the provider.

The counter-case

A charity whose donations come mostly by cheque or at events, with a plain donate button leading to a payment service's own form, may have little custom code to fix.

And a single labelled amount field, with no tiles or switches, is already usable by everyone, even if it looks plainer.

For a charity with a custom donation page, that page is often the first thing a supporter sees, and at year end it is busier than at any other time. Every donor should be able to finish it.

Before the appeal closes

  1. Try the form with only the keyboard.
  2. Listen to it with screen reading software.
  3. Rebuild the amounts as one group of radio buttons.
  4. Give the other amount field a visible label.
  5. Replace the switch with a labelled checkbox.
  6. Show focus and selection with more than colour.
  7. Test the payment page that follows.

Step three changes the most for the fewest lines of code. Once the amounts are a real group, keyboards and screen reading software both know what they are dealing with.

Shop filters can have the same fault, and a price range slider only a mouse can move adds plain labelled boxes so keyboards and screen readers can filter too.


Frequently asked questions

Why can keyboard users not choose an amount?

The amount boxes are blocks of text made clickable by a script, so the Tab key skips them. Real radio buttons can be reached and chosen from the keyboard.

What should the amount choices be built from?

One group of radio buttons with a heading such as Choose an amount, styled to look like boxes if the design calls for it.

Is placeholder text enough as a label?

No. Grey hint text inside a field disappears as soon as typing starts and is not always read aloud. Use a visible label that stays beside the field.

How should a monthly option be shown?

As a checkbox with a clear label, or two choices for once and monthly. A switch that only changes colour tells some donors nothing.

Can the form keep its current look?

Yes. Designers can style real radio buttons and checkboxes to look like boxes and switches while keeping their keyboard and screen reader support.

How do I test a donation form?

Give a small amount using only the keyboard, then listen to the form with screen reading software, including the payment page that follows 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.

Donation page built with clickable boxes?

Before the appeal closes, let us try your donation form with a keyboard and screen reading software, and we will list the fixes.

Start a Conversation