Accessibility
Last updated
Some of Pila's patients can't see the waiting-room screen well, some can't tell red from green, some use a screen reader on their phones, and some are older people using a phone for the first time. Software is accessible when people with disabilities can use it too, and that makes it better for everyone. In this lesson you'll learn the four principles of the Web Content Accessibility Guidelines, check Pila's screens against them, and see which Philippine laws apply.
By the end of this lesson you can
- Explain the four WCAG principles: perceivable, operable, understandable, robust
- Find common accessibility problems in a design, and fix them
- Calculate whether two colours have enough contrast
Who accessibility is for
Software is accessible when people with disabilities can perceive it, understand it, navigate it and use it. For Pila, that includes:
- A grandmother with low vision reading the waiting-room screen.
- A patient who is colour-blind (about 1 in 12 men has some form of colour vision deficiency).
- A blind patient using a screen reader, which reads a phone's screen aloud.
- A health worker with a hand injury who uses only the keyboard.
- A Deaf patient, who won't hear the number called aloud.
The changes that help them, like clear text, big targets and plain words, help everyone: the patient in bright sunlight, the health worker in a hurry, the first-time phone user.
Four principles
The Web Content Accessibility Guidelines (WCAG), from the World Wide Web Consortium (W3C), are the international standard. Version 2.2 was published in 2023. Its success criteria are grouped under four principles, remembered as POUR:
| Principle | Means | Example criterion |
|---|---|---|
| Perceivable | People can perceive the information, whatever senses they use | 1.4.1: colour isn’t the only way information is shown |
| Operable | People can use every control, whatever way they interact | 2.1.1: everything works from a keyboard |
| Understandable | The content and how it works make sense | 3.1.1: the page’s language is marked |
| Robust | It works with many browsers and assistive technologies | 4.1.2: controls have names and roles that assistive technology can read |
Each criterion has a level: A (the minimum), AA (what most laws and organisations aim for) and AAA (the highest).
Check Pila’s screens
Here are problems found in a review of Pila's first screens. Which principle does each one break?
0 of 7 placed right
The screen shows “your turn” only by turning a number green
Light grey numbers on a white screen
The counter page’s Call next button can’t be reached with the keyboard
The Cancel button on the phone page is tiny and next to Confirm
The reply says “Ticket allocation failed: quota exceeded”
The page’s language isn’t marked, so a screen reader reads Filipino with English sounds
A button is a styled box with no name a screen reader can announce
Contrast, in numbers
Whether text stands out from its background can be measured. WCAG defines the contrast ratio between two colours from their relative luminance (how bright each looks, from 0 for black to 1 for white):
It runs from 1 : 1 (the same colour) to 21 : 1 (black on white). Level AA asks for at least 4.5 : 1 for normal text, and 3 : 1 for large text.
The law in the Philippines
The Magna Carta for Disabled Persons (Republic Act 7277, 1992, since amended) sets out the rights of persons with disabilities, including access to public services and to information. In 2017, a memorandum circular from the Department of Information and Communications Technology (DICT) adopted WCAG 2.0, the version then current, as the standard for government websites.
Pila is a public health service run for a barangay, so it should meet at least level AA. Teams usually add accessibility to the definition of done (lesson 3.4's criteria and lesson 6.5's tests), and test with real assistive technology: a screen reader, the keyboard alone, and the screen zoomed to 200%.
Spot the trap: colour as the only signal
On the waiting-room screen, Marco shows the number being called by turning it from red to green. “It’s obvious,” he says. “Green means go.”
What happens if…
Check what you learned
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- W3C: Web Content Accessibility Guidelines (WCAG) 2.2: the guidelines, including use of colour, contrast and keyboard access
- W3C WAI: Introduction to Web Accessibility: who it’s for, and why it helps everyone
- Republic Act No. 7277, Magna Carta for Disabled Persons (The LawPhil Project): the rights of persons with disabilities in the Philippines