AI for teachers

Web Accessibility: Forms, Contrast and a Keyboard Everyone Can Use (Checklist for Schools and Small Businesses)

Cover "Web accessibility: forms, contrast and a keyboard everyone can use" with a list: every field with its label, keyboard-only use and 4.5:1 contrast, ticked; a placeholder as the label, crossed out.

A school opens enrollment for workshops with an online form. A mother with low vision cannot read the fields, which are light gray on white; a father who uses a screen reader hears "text field, text field" without knowing what is being asked; a student with a hand injury cannot use the mouse and the "Submit" button cannot be reached with the keyboard. Nobody meant to exclude them: they were simply not thought of.

Web accessibility is not an adornment for a few: it benefits everyone (someone using a phone in the sun, someone on a slow connection, someone who hurt an arm) and, in many cases, it is a legal obligation. This article explains the three fronts that fail most (forms, contrast and keyboard), with verified data, code from a bad and a good example, a Python script that detects common problems and an Excel checklist (in Spanish). Data verified on October 9, 2026.

Summary. The most frequent accessibility failures are simple to fix: low contrast, images without alternative text, fields without a label and empty links (WebAIM Million 2025). An accessible form has visible labels, works with the keyboard alone, communicates errors in text and has a contrast of at least 4.5:1. An automated check helps, but it does not prove a page is accessible: you have to test it with the keyboard, with zoom and, if possible, with a screen reader.

What the data and the law say

The WebAIM Million 2025 study analyzed one million home pages with an automated tool (WAVE). It found that 79.1% had text with insufficient contrast, 55.5% images without alternative text, 48.2% form fields without a label and 45.4% empty links; those categories (plus empty buttons and missing language) account for 96% of detected errors, and they have been practically the same for about five years. According to coverage of the report, close to 95% of pages had some detectable WCAG failure. And a warning from the study itself: a page with no detected errors is not necessarily accessible, because automated tools find only part of the problems.

Four cards with the most frequent failures according to WebAIM Million 2025: 79.1% of pages with low contrast, 55.5% with images without alternative text, 48.2% with fields without a label and 45.4% with empty links.
The failures that repeat most on the web.

The international reference framework is the W3C's Web Content Accessibility Guidelines (WCAG), now in version 2.2, organized in levels A, AA and AAA. In Colombia, according to reports from entities that cite it (I could not access the annex's official text), the MinTIC's Resolution 1519 of 2020 requires obligated subjects, mainly public entities, to meet WCAG 2.1 level AA on their portals since January 1, 2022, and internal-control audits verify 32 criteria of its Annex 1. Colombia also approved the Convention on the Rights of Persons with Disabilities through Law 1346 of 2009. A private school or small business may not be bound by that resolution, but the logic is the same: if the service is not accessible, some people cannot use it. Confirm with your legal adviser what applies to you.

Front 1: forms

Forms are where people are lost the most, because that is where something is asked of them. These rules solve most cases:

  • A visible label associated with every field (<label for="...">). A placeholder does not replace it: it disappears when typing and many screen readers do not announce it well. A quick test: click the label; the field should get focus.
  • Mark required fields in text (not just with a red asterisk) and use required.
  • Autocomplete (autocomplete="name", "email"): it helps those who type with difficulty.
  • Errors in clear text saying which field failed and how to fix it, not just a red border (color alone is not enough).
  • A real button (<button>), not a <div> with a click handler.

A bad example and a good one:

<input type="text" name="nombre" placeholder="Nombre">
<input type="email" name="correo" placeholder="Correo">
<a href="reglamento.pdf">Haz clic aquí</a>
<div onclick="enviar()" tabindex="3">Enviar</div>
<label for="nombre">Nombre completo</label>
<input type="text" id="nombre" name="nombre" autocomplete="name" required>
<label for="correo">Correo electrónico</label>
<input type="email" id="correo" name="correo" autocomplete="email" required>
<a href="reglamento.pdf">Leer el reglamento de talleres (PDF)</a>
<button type="submit">Enviar inscripción</button>

Front 2: contrast

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. The ratio is calculated from the relative luminance of the two colors. I calculated several with the script, on a white background:

Table with contrasts calculated on a white background: black 21 to 1, gray 767676 4.54 to 1 which barely passes, gray 777777 4.48 to 1 which fails and gray AAAAAA 2.32 to 1 which fails.
Contrast of several grays on a white background.

Gray #767676 is, in fact, the lightest gray on white that meets 4.5:1 (4.54:1); one step lighter, #777777, no longer does (4.48:1), and the "elegant" gray #AAAAAA comes in at 2.32:1, which many people cannot read, and almost nobody on a screen in the sun. Also, do not use color alone to inform (for example, a field with an error only in red) and check states as well: links, disabled buttons and text over images.

Front 3: keyboard

Many people browse without a mouse: screen reader users, adaptive keyboard users or people with tremors. The test is simple and needs no tools: unplug the mouse and go through your page with Tab. You must be able to reach everything interactive, in a logical order, and always see where the focus is. Typical mistakes: <div onclick> that does not receive focus, positive tabindex values that alter the order, menus that only open with the mouse and pop-ups that trap focus. WCAG 2.2 added, among others, that focus must not be hidden behind a sticky bar and that touch targets be at least 24 by 24 pixels.

A script that finds the basics

I wrote a script of about 130 lines in Python (standard library only) that checks an HTML file and detects eight frequent problems: images without alt, fields without a label, missing language or title, empty or generic links ("click here"), buttons without text, heading jumps, positive tabindex and div with a click handler, and it also calculates contrasts. I tested it with the bad form (with three unlabeled fields and gray text) and the good one:

formulario-inaccesible.html: 14 problema(s) detectado(s)
 - Salto de encabezados: de h1 a h3
 - Imagen sin atributo alt: logo.png
 - Enlace con texto genérico: "Haz clic aquí"
 - tabindex positivo (3) en <div>: altera el orden natural del teclado
 - <div> con onclick: no es accesible por teclado; usa <button>
 - Falta el idioma de la página (<html lang="es">)
 - Campo <input> sin etiqueta asociada (name=nombre); un placeholder no reemplaza a la etiqueta
 - Contraste insuficiente: #aaaaaa sobre #ffffff = 2.32:1 (mínimo 4,5:1 para texto normal)
 (...)
formulario-accesible.html: 0 problema(s) detectado(s)

It is a help to get started, not an audit: it detects what is mechanical, not what requires judgment (whether the alternative text is useful, whether the order is logical). That is why the workbook includes a 20-criterion checklist from WCAG 2.1 and 2.2 with how to test each by hand, a summary that computes the percentage of compliance and priorities.

A ten-minute test

  1. Keyboard: go through the form with Tab and submit it with Enter. Can you reach everything? Do you see the focus?
  2. Zoom: enlarge to 200% and 400%. Is content lost or does horizontal scrolling appear?
  3. Labels: click each label. Does the field get focus?
  4. Errors: submit empty. Do the messages say what failed, in text?
  5. Contrast: measure the colors of text and buttons.
  6. Screen reader: if you can, try NVDA (free, for Windows) or VoiceOver on Mac and iPhone.

And better still, ask a person with a disability to use your form: you will learn more in five minutes than with any tool.

Colombia, Latin America and the world

Worldwide, accessibility has moved from good practice to a legal requirement in many countries (Europe, the US, Canada and others), and the most frequent problems are the same everywhere, as the study shows. In Colombia and Latin America, the websites of schools, education secretariats and small businesses are often built with templates and plugins installed without review, and enrollment and paperwork are moving more and more to online forms, often from a phone. For principals, accessibility is part of service quality and inclusion; for teachers, it also applies to the digital material they share (documents, presentations, captioned videos); and for families, it means being able to enroll, pay and check grades without depending on someone else. It is consistent with the reasonable-adjustments and universal-design approach applied in the classroom (see PIAR con IA).

Tools that help work with inclusion

In the classroom, PIAR con IA helps document each student's reasonable adjustments, with drafts the expert team validates. And the AI Exam Generator makes it possible to produce versions of an assessment for the teacher to adapt.

Keep reading: ransomware: the first 60 minutes, integrations that fail silently and an institutional AI policy for schools.

Frequently asked questions

What is WCAG?

The W3C's Web Content Accessibility Guidelines: criteria for web content to be perceivable, operable, understandable and robust. They have levels A, AA and AAA; level AA is the one usually required.

Is a private school required to meet web accessibility?

Resolution 1519 of 2020 mainly binds public entities; a private school may not be bound by it, but accessibility is good practice and may be required under other inclusion rules. Consult a legal adviser.

Why is a placeholder in fields not enough?

Because it disappears when typing, usually has low contrast and many screen readers do not announce it as a label. A visible label associated with the field is needed.

What contrast should I use?

At least 4.5:1 for normal text and 3:1 for large text, under WCAG level AA. You can measure it with a checker or with the workbook's script.

Is an automated tool enough?

It is useful to start, but it detects only part of the problems. Complete it with keyboard tests, zoom and, if possible, a screen reader and real users.

This week: test your most important form with the keyboard and measure the contrast of its texts. Download the checklist (in Spanish) and run the script on your HTML (the two example forms, inaccessible and accessible, are also available).

Food for thought

Accessibility is often treated as an extra cost left "for later". Is the inaccessibility of an educational service a form of discrimination even if nobody intended it? And if an institution welcomes everyone but its enrollment form only works for those who see, use a mouse and have a good connection, whom are we choosing without realizing it?

Was this article helpful?

React and share it with someone who might find it useful.

Press and hold to choose another reaction

Be the first to react

Prefer to have it ready?

More guides in AI and technology for teachers

Use ↑ ↓ to move, Enter to open and Esc to close.