Includoc, home

Accessible PDF forms: field labels, tab order, tags and XFA

Make fillable PDF forms work with keyboards and screen readers: field tooltips, tab order, Form tags, required fields, error messages and the XFA trap.

Last updated

A PDF form whose fields have labels and a clear keyboard order

An accessible fillable PDF form lets someone find, understand and complete every field using only a keyboard or a screen reader. Each field needs a name the screen reader announces (in Acrobat, the field's Tooltip, stored in the PDF as its TU entry), a tab order that follows the form's structure, and a Form tag in the tag tree. The form also needs visible labels and instructions, required fields marked in words, and error messages that say how to fix the problem. Dynamic XFA forms can't meet PDF/UA, so rebuild them as standard forms.

Why forms come first

Forms are how people apply for permits, register for programs, request records and enroll in classes. If a form doesn't work with assistive technology, someone may not be able to get a service at all.

Forms also matter under the ADA Title II rule. The preexisting documents exception doesn't cover documents that are currently used to apply for or access a service, so a form people still use needs to be accessible no matter when it was posted. See Title II exceptions explained (general information, not legal advice).

What an accessible PDF form needs

RequirementWhy it mattersWhere you set it in Acrobat Pro
Real form fieldsPeople can fill in the form on screen instead of printing itThe form preparation tool
A name for every fieldScreen readers announce it when the field gets focusField Properties > General > Tooltip
Visible labels and instructionsEveryone needs to know what to enter; voice control users say the label to move to a fieldOn the page, next to each field
A logical tab orderKeyboard users move through fields in the right orderPage Properties > Tab Order > Use Document Structure
Form tagsFields appear in the tag tree, in reading order next to their labelsThe Tags panel or Reading Order tool
Required fields marked in wordsAn asterisk or red text alone isn't enoughField Properties > General > Required, plus the label
Helpful error messagesPeople can correct mistakes and finish the formField Format and Validate settings

Write good field names

The tooltip is the field's accessible name: it's what a screen reader says when someone tabs into the field. When it's missing, some screen readers read out the internal field name, so people hear something like "Text 14, edit".

  • Match the visible label, so sighted and screen reader users are talking about the same thing.
  • Add what people need to know: the format and whether it's required. For example, "Date of birth (MM/DD/YYYY), required".
  • Name every field, including checkboxes, dropdowns, signature fields and buttons.
  • Radio buttons and checkboxes need both the question and the option. In Acrobat, radio buttons in a group share one field name. Put the question in the tooltip and set each button's choice to the option's label. Then test with a screen reader, because announcements vary.

Make a fillable form accessible in Acrobat Pro

  1. Start from an accessible source if you can. A tagged PDF exported from Word, with clear visible labels, gives you a much better starting point than a scan.
  2. Open the form tool. In the current interface, choose All tools > Prepare a form; in older versions, Tools > Prepare Form. Acrobat detects likely fields. Review them, delete the wrong ones and add any that are missing.
  3. Set each field's properties. Right-click a field and choose Properties. On the General tab, enter the Tooltip and check Required where it applies.
  4. Add format and validation where they help. Use the Format tab for dates and numbers, and the Validate tab for allowed ranges.
  5. Fix the tab order. In the form tool's Fields panel, choose Order tabs by structure, which follows the order of the tags. Then confirm that each page's tab order is set to Use Document Structure (in the Page Thumbnails panel, right-click a page and choose Page Properties > Tab Order).
  6. Tag the fields. Fields added after a document was tagged aren't in the tag tree yet. Use the Reading Order tool's Form Field option, or find unmarked annotations from the Tags panel's options menu, so each field sits in a Form tag next to its label.
  7. Check it. Run Acrobat's checker (look at Tagged form fields and Field descriptions) and PAC, then test with a keyboard and a screen reader.

Required fields, instructions and error messages

  • Mark required fields in words, such as "(required)", in the visible label and in the tooltip. Also check Required in the field properties, so software knows too. Don't rely on color or an asterisk alone.
  • Put instructions before the fields they apply to, not at the end. Start with what people will need (an account number, a photo ID) and how to submit or get help.
  • Give format hints in the label, such as "Phone number (10 digits)".
  • Write specific error messages. Acrobat can alert people when an entry doesn't match the format you set. Say what's wrong and how to fix it: "Enter the date as MM/DD/YYYY", not "Invalid entry". Not every PDF reader runs form scripts, so the label and tooltip should give the format as well.

Form tags and widget annotations

Each field's clickable box on the page is called a widget annotation. For PDF/UA, every widget must be inside a Form tag in the tag tree, linked to the field, and placed in reading order next to its label. Every page that has fields or links must also tell readers to tab through them in structure order.

These are the requirements behind some of the most common checker messages:

The XFA warning

Some government forms were built as dynamic XFA forms, an older Adobe format created in tools such as Adobe LiveCycle Designer. They can grow and change layout as you fill them in, which is why they were popular. But:

  • PDF/UA doesn't allow dynamic XFA forms, and the format was deprecated in PDF 2.0.
  • Many PDF readers can't open them. Browser viewers, phone apps and Mac Preview often show only a "please wait" message instead of the form.
  • Assistive technology support is poor, even where they open.

If you have XFA forms, plan to rebuild them as standard PDF forms (sometimes called AcroForms), or replace them with accessible web forms. There's no reliable one-click conversion for dynamic XFA.

Consider a web form

For forms people submit online, an accessible web form is often easier for everyone: it works on phones, supports autofill, can check entries as people go, and doesn't need a download. A PDF form still makes sense when people need to print, sign or mail it. Either way, the form must be accessible.

Test your form

  1. Use only the keyboard. Press Tab and Shift + Tab to move through every field. Press Space to check a box and use the arrow keys to choose a radio button. Can you reach and use every field in a sensible order?
  2. Listen to it. With a screen reader such as NVDA, each field should announce its name, its type and whether it's required.
  3. Run the checkers. Use Acrobat's form rules, PAC, or our free checker.
  4. Zoom in. At 200%, labels should still sit clearly next to their fields.

Fix it automatically

Includoc tags every form field in reading order and sets each page's tab order to follow the structure. It writes a name for each field from the printed label next to it, and you confirm those names on the review screen. It flags dynamic XFA forms, which it can't fix, and fields whose instructions a person should check. It doesn't create new fields on flat or scanned forms, so add those in Acrobat first. For high-stakes forms such as applications, our human-verified tier tests each form with a screen reader.

Upload your PDF to fix this automatically

Free check in seconds. Files are deleted within 24 hours.

Check your PDF

Standards

Standards references: Form fields aren't tagged
Standard or toolReference
WCAG 2.1
PDF/UA-1 (ISO 14289-1)Clause 7.18.4
Matterhorn ProtocolCheckpoint 28-010
PAC wordingWidget annotations in Form tag
Acrobat ruleTagged form fields
Standards references: Form fields have no label
Standard or toolReference
WCAG 2.1
PDF/UA-1 (ISO 14289-1)Clause 7.18.1
Matterhorn ProtocolCheckpoint 28-005
Acrobat ruleField descriptions
Standards references: Tab order isn't set to follow the structure
Standard or toolReference
WCAG 2.1
PDF/UA-1 (ISO 14289-1)Clause 7.18.3
Matterhorn ProtocolCheckpoint 28-008
Acrobat ruleTab order
Standards references: This is a dynamic XFA form
Standard or toolReference
WCAG 2.1
PDF/UA-1 (ISO 14289-1)Clause 7.15
Matterhorn ProtocolCheckpoint 25-001

Sources