Freelock’s Day 22 Advent Calendar Entry Highlights “Label in Name” for Voice Accessibility

Drupal Advent Calendar

Freelock’s Day 22 Drupal Advent Calendar entry focuses on WCAG 2.5.3 “Label in Name,” a requirement ensuring that the text users see on interactive elements matches or appears at the start of the accessible name used by assistive technologies like voice control software.

The post explains how mismatched visual and accessible labels break navigation for users relying on voice commands. A button that displays “Submit” but uses an aria-label like “Submit this form now” may seem helpful but prevents users from activating it by saying “Click Submit.” This issue affects people with motor disabilities, temporary injuries, or those multitasking using tools like Apple Voice Control, Dragon NaturallySpeaking, or Windows Voice Access.

Common pitfalls include replacing visible text with overly descriptive ARIA labels, using mismatched alt text for images, or creating icon-only buttons without proper labeling. Freelock advises that accessible names must either exactly match or start with the visible label. For added context, developers are encouraged to use aria-describedby instead of overwriting visible text with aria-label.

The blog offers specific guidance for testing compliance using voice control software or browser accessibility inspectors. It warns that modern frameworks and third-party plugins often introduce these issues, particularly in modal dialogs, sliders, or icon libraries. Freelock underscores that predictable, visible labeling supports both usability and trust—allowing users to activate elements simply by saying what they see.

Disclosure: This content is produced with the assistance of AI.

Disclaimer: The opinions expressed in this story do not necessarily represent that of TheDropTimes. We regularly share third-party blog posts that feature Drupal in good faith. TDT recommends Reader's discretion while consuming such content, as the veracity/authenticity of the story depends on the blogger and their motives. 

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Organizations

Related People

Upcoming Events

Latest Opportunities