A11yCheck

WCAG rules · axe-core 4.14.1

Elements must have their visible text as part of their accessible name

Rule ID: label-content-name-mismatch

Ensure that elements labelled through their content must have their visible text as part of their accessible name

Level: WCAG 2.1A · Success criteria: 2.5.3

Rule metadata from axe-core 4.14.1. Deque's guidance: https://dequeuniversity.com/rules/axe/4.14/label-content-name-mismatch?application=axeAPI

Test your HTML for this