Data or header cells must not be used to give caption to a data table.
Moderatetable-fake-caption
What it checks
Ensure that tables with a caption use the <caption> element.
How to fix it
Review and fix this accessibility issue following WCAG guidelines
WCAG
Success criteria 1.3.1. See the WCAG 2.2 quick reference.
More detail: Deque University's page on this rule.