OpenA11y Evaluation Library

figure must have one figcaption

Rule ID Image 9
Conformance Recommended
Definition Every figure element must contain exactly one figcaption element.
Purpose
  • figure elements are like images, and the figcaption is the way to provide the figure with an accessible name.
  • Multiple figcaption elements contained in the same figure may result in the improper calculation of labels for assistive technologies.
  • The figure element without a corresponding figcaption can be used as a generic container with any role, but it is a best practice to use the section or div elements instead, and reserve the figure/figcaption elements for charts, graphs, or other composite images.
Conformance Recommended
WCAG Success Criteria

Success Criterion 1.1.1 Non-text Content

Rule Category Images
Rule Scope Element
First Step no
aXe Rules
Wave Rules
Techniques
  • A figure element should have one and only one figcaption element to describe the purpose of the form controls it contains.
Information Links