Barrierepruefung.de Web Accessibility Checker

WCAG 1.3.1 Info and Relationships: explained simply

Information, structure and relationships that the design conveys must be marked up in the code or stated in the text, from headings and lists to table headers and form labels. Only then can screen readers and other tools pass them on. Where the technology allows markup, the W3C strongly encourages using it.

Last reviewed: Sources

What does the criterion require?

A page shows its structure through design: headings are bigger, list items have bullets, tables have rows and columns, related form fields sit inside a frame. Anyone who cannot see the page, or who changes how it looks, loses those cues, whether through a screen reader, a braille display or their own colours and fonts.

So the criterion asks that information, structure and relationships conveyed through presentation can be programmatically determined, meaning they are marked up in the code, or else are spelled out in the text. A heading is then a real heading rather than bold text, a table links every cell to its headers, and every form field knows its label.

Where the technology can express a relationship in markup, the W3C strongly encourages doing so; text is the fallback where it cannot. One of its examples: required fields have red labels and an asterisk, and the form's instructions explain what both mean.

Name, Role, Value is the close neighbour. It deals with controls, this criterion with the structure of the content. A label that sits visibly next to a field without being connected to it fails both.

Common failures

  • Styling instead of markup. A line looks like a heading because of its size and weight, but in the code it is an ordinary paragraph (F2).
  • Markup chosen for its looks. Structural elements used because of how they render, not because the structure exists (F43).
  • Tables without header cells. Data laid out in rows and columns with no th, or headers wired to the wrong cells through headers and id (F91, F90).
  • Layout tables dressed as data. A table that merely places content side by side, yet carries header cells or a caption (F46).
  • Meaning switched off. role="presentation" on content that carries meaning, such as a data table or a list (F92).
  • A label that is not connected. The text sits beside the field, but no label or equivalent attribute links the two (F111).
  • Columns made of spaces. Columns lined up with spaces in plain text or in a pre element, which look like a table only to the eye (F33, F34, F48).

Checked automatically and checked by you

What the automated check detects

Coverage: extensive

The automated check covers most of this criterion, but not every case.

Labels, lists and tables are checked. Whether a visual structure was marked up at all is not measurable.

Rules

  • Form field without a label label
  • <ul> and <ol> must only directly contain <li>, <script> or <template> elements list
  • <li> elements must be contained in a <ul> or <ol> listitem
  • <dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements definition-list
  • dlitem
  • th-has-data-cells
  • Certain ARIA roles must contain particular children aria-required-children
  • Certain ARIA roles must be contained by particular parents aria-required-parent

What you check yourself

You answer this question in the manual checks of your scan.

Is everything marked up that looks like a heading, list, table or group?

  1. Look at several pages of different kinds and find what is recognisable as structure through presentation alone: lines set larger or in bold that act as headings, enumerations with dashes or symbols, information in rows and columns, form fields that appear as a group through a border or a shared line above them. The automatic check already covers labels, lists and tables that are marked up in the source; it cannot detect a visible structure that was never marked up at all.
  2. Right-click such a place and choose "Inspect" (in some browsers "Inspect Element"): the element in the source must be what it looks like, for example h1 to h6 for a heading, ul, ol or dl for an enumeration, table with th as header cells for information in rows and columns, fieldset with legend for a group of fields. An element whose role attribute says the same is marked up just as well, such as role="heading", "list", "table" or "group". Only a div, span or p with formatting that is neither is a defect. A free screen reader (NVDA on Windows, VoiceOver on Mac) shows the same: it announces "heading", "list" or "table" only where markup exists. If you can neither assess the source nor use a screen reader, choose "I cannot judge this".
  3. The requirement is also met if the information is available in text instead, such as "required fields are marked with an asterisk (*)" together with the asterisk on the fields. Presentation that structures nothing and carries no information is not a defect, such as an advertising line set in bold that introduces no section. What is conveyed by colour alone belongs to the question under "Content and language" (WCAG 1.4.1).

Classification

Level
A
Introduced in
WCAG 2.0
W3C explanation
Understanding 1.3.1