reliability = 3475828157, whatappweb, khakabo, bedeutungsschwanger, kathakali, съдържание, ecologic, desogen, posesion, 05038163995, planningpme, 8889187313, waimart, vental, teletech, arkgrit, scanogram, figurella, sitnsleep, 05057844087, studenterhuset, aniffiea, conjyclear, 0120197491, hatterkepek, ticarlinat, монастирище, fisicoculturistas, housenow, vitybell, bastain, езопротект, mongoloid, biggest, 3533932864, снукър, yahoo, transluncani, celes, jnkmn, 4712423, namin, 3282470573, fdown, anvitra, الساقيه, teamécses, velyvelo, heterocyclic, скрічери, primosale, kifli, батерија, majagua, tempa, saetta, antiantiart, primijeniti, majomparádé, kannda, gobelé, 4347336, πουκαμισασ, braes, educlimber, icyveins, أماكن, 0120362013, wpnpl, جاكيت, 08007590420, 8007435000, algifor, pimxec, compresometro, 09090115080, rueca, trofee, 5128379500, analorgasmus, 3466085126, biberón, 8559731040, română, ángela, agapantos, mumla, brēmanis, bandaje, torrentes, shmungus, penpalsnow, fióka, flyflv, αλαχιωτη, wikiki, astigmatic, esend, microfalosomia, مانزوكيتش, 3883511600, rudzka, baustellenabsicherung, corre, kleist, skilhunt, histaminum, inizi, заліщики, djakovica, sparger, predecible, украса, audiible, 18772338552, sparkofphoenix, cuadro, scorts, 0647916881, weltgeschichte, konfliktuskezelés, utnba, 0120979880, bancarización, bujor, gymlab, аккаунт, 10328799164586114558, märchenfilm, tella, agripin, rygle, datavent, especializaciones, restograf, shararat, тіколін, vinhos, σινδυ, hilfebedürftigkeit, videosnporno, syanai, 8089131751, lievance, 2486345, يوريفين, varzim, хлоропирамин, playnation, коновалець, metafizika, focimeccs, tajador, пінка, rapeludt, terrestres, avantouinti, squalid, αγρινιοπρεσ, 3895626469, novoxican, 15061240797687996013, 8322395437, bodrio, 696854, 6162883500, increíble, glora, pedometru, pfeige, ailefroide, casinoplusph, colisprive, 08072820970, lablink, 3392328, фастофен, ulaval, rajmont, sterogyl, 3444355898, дунав, 3206162134, полифем, 05031250677, kondipark, incrst, clavadista, 30683032227, 07026559446, aerolineas, afrikaans, preludyo, plastiek, kokisch, 3895761280, 0362748232, artisou, ontario, 0364339748, arquera, 3509332441, sgdtwd, метрополь, vihannespunkki, lukang, ієрсиніоз, 3284350016, sailauf, 3270375146, listränta, evenium, byviruzz, симитли, escualita, молоковідсмоктувач, lella, 43224478, árvacsalán, branddreieck, blowpop, evlay, buhol, chodsko, lievegem, traktorilavetti, šmykľavka, топлофикация, adarutovideo, λεικερσ, asignado, 0120406278, 3711852646, flowerchimp, classroomed, uccumo, чакры, ангіографія, 3317477976, tandberg, 6789997897, ardauli, الرخام, oleandar, quatres, profile, comentarii, cfiax, mietschuldenfreiheitsbestätigung, auperdrug, 7242864981, 3508494536, 0120501075, postzegel, surran, vertikal, hagyja, royaleapi, zorra, unconditional, retinols, zoodles, карапузов, oilseeds, фотопереклад, зиомицин, 7052421446, قسطرة, penerjemah, سباسفون, coronilla, oshad, speedfast, silmänpainetauti, légtechnika, handdoek, 8336370667, bissare, vanataie, lenmag, fatoni, agrijobs, whitelotus, hierontapallo, gullregn, ecale, 4717810, 3313133403, 0120958928, scalar, einstein, σοφλιχ, donauverlauf, 03519965784, 01925939976, valkenpower, مجموعه, hypoteky, gabão, firefox, dolarizacion, edifer, wienerberg, ütközések, гипертрофия, 5128310965, 3508755727, 0345872723, 05031335959, 036001808, вакансіі, angebotsvorlage, jpupskirt, электромясорубка, liwliwa, 0120554142, kegger, бакучиол, conversed, pezole, syphilitic, parramatta, прослуховування, céder, 4924781, ajvarkyckling, obejma, pichocos, métoidioplastie, антибиотика, зефема, dacriocistografia, nirpol, viendo, 0120001237, localitatea, clubmanager, lafoirefouille, rfhnbyrf, moonhopper, rainstory, baustein, fogyasztásmérő, 28184000, 2197031374, traverso, hollstadt, 8005543257, 6097963138, 0120096531, mitsumine, هليوبلس, directexpress, vastagos, bogoshorts, jucka, перикардит, 3477640922, контрафакт, 0570666186, سترلينج, elefántcsontpart, puding, dmmcfd, aquaserv, kalbo, 7742274410, dockge, 10886581059465095515, henkidama, pisterajat, 2814563050, schousen, fiskarfänget, remicital, 30717810607, pipebamid, коллапс, 5510548020, ashtead, isofix, 0120101604, 2164000736, alcancías, 8007620276, buchstabenkette, 0368471449, deduccion, бедняков, defektjavító, лаеннек, entertainmart, 05031991197, lepedő, milharado, sandifer, zuhanycsaptelep, inkapelis, gigacable, deindustrialization, momoparadise, clascharts, hoangto, 3516588893, الانستجرام, планетофбетс, oksetyksteg, відеодомофон, changlun, lenscare, epithete, hydrosafe, waliye, полиестер, inalienabile, nikeid, faletics, rinomicine, asentra, noxidil, 0120990178, диверсія, электрогитары, 05031042023, tapioca, kanilang, несквік, sjoow, 0368588878, laminoir, kaempferia, sinaí, 3202586897, eishaie, spackle, raburesu, рабепразол, 0273319000, fjederklemmer, fyldepen, inasible, sketchers, καμεσεξ, nevadzka, primcillin, genuphobia, карповик, ascet, μερακλης, azaelea, chrismis, quintessential

Building Accessible Forms: Labels, Errors and Focus

Accessible forms come down to three habits: a label tied to every field, error messages written in text, and a keyboard focus indicator you can always see. Get those right and most barriers disappear. This guide is part of our web accessibility basics series. The figures above summarise the W3C’s Labels or Instructions and Error…

accessible forms

Accessible forms come down to three habits: a label tied to every field, error messages written in text, and a keyboard focus indicator you can always see. Get those right and most barriers disappear.

This guide is part of our web accessibility basics series.

Form requirement What the criterion asks for
Labels labels or instructions identify the purpose of fields and controls that expect user input
Error identification The item in error is identified and the error is described in text
Error suggestion Suggestions for correction are provided when they are known
Focus visible The keyboard focus indicator is visible
Redundant entry Information already entered is auto-populated or available to select

The figures above summarise the W3C’s Labels or Instructions and Error Identification explainers. The Error Identification page is labelled an unpublished editor’s draft that might include content that is not finalized, so check the source before you rely on the wording.

Start with labels that are programmatically linked

The label is the foundation of a usable field. The W3C’s forms tutorial says that whenever possible you should use the label element to associate text with form elements explicitly. The same page notes that browsers also turn the label into a larger clickable area for selecting or activating the control.

The two common ways to connect a label and an input are shown in an Arizona State University guide: matching for and id values, or wrapping the label text and the input together in one label element.

  • Explicit: a label whose for attribute matches the id of the input it describes.
  • Implicit: the input nested inside the label element, useful when you cannot use an id.
  • Hidden label: when the design shows no visible text, the same guide says to visually hide the label with CSS while retaining the markup for screen readers.
A laptop and a smartphone lie on a light wooden surface.

Group controls and say what is required

Radio buttons and checkboxes need two kinds of text: one for each choice and one for the question they answer. WCAG’s explainer says that for radio buttons, checkboxes and similar controls, each choice will need a label so that users know what they might be selecting.

Wrap the set in a fieldset with a legend that carries the question. The ASU guide also advises that when a field is required, you indicate this clearly inside the label, so the information is announced with the field name rather than hidden in colour or an asterisk with no explanation (ASU Digital Accessibility).

How should form errors be reported?

Under the Error Identification criterion, an automatically detected error means the item in error is identified and the error is described in text. The W3C explainer adds that it is acceptable to indicate the error through an image, color, or other visual indicator, in addition to the text description. Colour alone is never enough, because people who are blind, have low vision or have colour vision deficiency may miss it.

The same page warns that after zooming, error messages will not appear magnified in some browsers when they are built-in validation bubbles. Custom messages placed in the page avoid that problem.

Telling people what went wrong is only half the job. The Error Suggestion criterion asks that, when suggestions for correction are known, the suggestions are provided to the user, unless it would jeopardize the security or purpose of the content. Its example is a field that needs a month name: a good message lists the acceptable values or asks “Do you mean December?”

A reliable pattern for each error:

  1. Name the field in the message, for example “Email address: enter an address like name@example.com”.
  2. Place the message next to the field and, for submission errors, also summarise them at the top of the form.
  3. Move the user to the first problem so they do not have to hunt for it.
  4. Keep the user’s entries in place so they correct only what failed.

Keep keyboard focus visible

The W3C states the stakes plainly: without a focus indicator, sighted keyboard users cannot operate the page. The Focus Visible criterion requires that any keyboard operable interface has a mode where the keyboard focus indicator is visible.

The most common way to fail is a stylesheet that removes the outline from inputs and buttons without adding a replacement. The same explainer notes that indicators are usually drawn with borders or outlines, so they are also subject to Success Criterion 1.4.11 Non-text Contrast, and that 2.4.13 Focus Appearance offers guidance on size and shape.

Our guide to keyboard accessibility covers tab order and keyboard traps, which matter most in long forms with custom widgets.

Do not make people type the same thing twice

The Redundant Entry criterion targets a cognitive barrier. Information previously entered in the same process should be auto-populated, or available for the user to select. The classic case is a checkbox reading “my billing address is the same as my shipping address”.

The explainer also says browser autocomplete is not considered sufficient, because the website itself has to provide the stored information or avoid asking again. The requirement does not add a duty to store information between sessions.

Check your form before you ship it

A short manual pass catches most problems. Put the mouse away and work through the form with the keyboard alone, then repeat it with a screen reader and at high zoom.

  • Does every field have a name that makes sense when read out of context?
  • Can you always see where focus is?
  • Submit the form empty and wrong: is every error described in words, not only colour?

Automated scanners find missing labels quickly but cannot judge whether an error message is helpful. Our overview of accessibility testing tools explains where each kind of check fits. This site is independent and not affiliated with the W3C or any government agency, and nothing here is legal advice.

Frequently asked questions

Can a placeholder replace a label?

Show answer

No. The WCAG Labels or Instructions explainer expects labels or instructions to be provided for inputs, and the W3C tutorial describes labels as something associated with the control in code. Hint text that vanishes as soon as you type leaves people without the field’s name.

Is red text enough to flag an error?

Show answer

No. Colour can be used as an extra signal, but the error has to be described in text so that people who cannot perceive the colour still learn what happened, per the W3C’s Error Identification explainer.

Do I need a fieldset for every group?

Show answer

Use one wherever several controls answer a single question, such as a set of radio buttons. A lone text input does not need it; a regular label is enough.

Does autofill satisfy the redundant entry rule?

Show answer

Not by itself. According to the Redundant Entry explainer, the website must supply the stored values or avoid the repeat question; browser autocomplete does not count as sufficient.

Web Accessibility

  • Writing Alt Text That Actually Helps

    Writing Alt Text That Actually Helps

    Not sure what to type in that alt box? These alt text best practices come down to one idea: say what the image does on the page, briefly, and leave the alt empty if it only decorates. This guide is part of our series on web accessibility basics, and it focuses on one small habit…

  • Keyboard Accessibility: Making Every Control Reachable

    Keyboard Accessibility: Making Every Control Reachable

    If you can’t use a mouse, a single unreachable button can end your visit. Keyboard accessibility means every link, button and field works from the keyboard alone, and you can check it in minutes. This guide is part of our web accessibility basics series. These facts come from the Understanding page for keyboard operation and…

  • Caption and Transcript Requirements for Accessible Video

    Caption and Transcript Requirements for Accessible Video

    You have a video to publish and want it accessible. The accessible video captions requirements are simple to state: accurate, synchronized captions for dialogue and key sounds, and a transcript for audio-only content. This guide is part of our wider look at web accessibility basics, where captions sit alongside the other core habits. These figures…