Tables With Summary Attributes That Duplicate Captions

Tables With Summary Attributes That Duplicate Captions

WCAG Focus: WCAG 1.3.1 (A) · Technique H73

In older HTML4/XHTML content, authors often copied the table’s <caption> text directly into the <table summary="…"> attribute. Screen readers then speak the exact same description twice before entering the first row—and the summary attribute itself is deprecated in HTML5.

Why This Pattern Violates WCAG

WCAG Technique H73 explicitly instructs authors not to duplicate <caption> inside summary.

In modern HTML5 and WordPress, place a concise title inside <caption> and use aria-describedby pointing to an explanatory paragraph if extra structural explanation is needed.

Code Comparison

Redundant Summary & Caption

<table summary="2026 Quarterly Expenses">
  <caption>2026 Quarterly Expenses</caption>
</table>

Compliant HTML5 Caption

<table>
  <caption>2026 Quarterly Expenses</caption>
</table>

How to Fix It in WordPress

  • Remove the deprecated summary attribute when it repeats <caption>.
  • Keep <caption> brief and place supplemental reading guidance in a paragraph linked via aria-describedby.

Finding This Issue Automatically

Legacy table plugins and copied HTML snippets frequently retain redundant summary attributes. The WP ADA Compliance Check plugin detects summary attributes duplicating captions across your WordPress tables so your data reads cleanly once.

WCAG References & Supporting Materials

WCAG Success Criteria

Supporting Documentation & Guides

Subscribe

Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

Cart Accessibility Tools
hide