Quick Tip: Label in Name
The “label” text that visually identifies a component should typically be the same as the “name” text read by a screen reader. WCAG requires that the visible text for link, button, and the form input labels must be contained within the text presented to users of assistive technologies. This helps avoid a mismatch between the screen reader and visual experience and ensures that voice control software can properly align the visible text to the underlying control.
The monthly Web Accessibility Tip comes from WebAIM and is shared to get a wider audience. For more information about web accessibility, please visit the WebAIM website.
See also information about how you can subscribe to the monthly WebAIM Newsletter which contains lots of great information about web accessibility.