Skip to main content

Label In Name

Note:
  • Rule Category : Accessibility Labels
  • WCAG Guidelines : 2.5.3 (A)
  • Rule Severity : Serious
  • Supported Platforms : Android, iOS

Description

For user interface components with text labels, the programmatic name should contain the text that is presented visually. This ensures that a button labeled ‘Log in’ can be activated using its visible name. Mismatched names can confuse screen reader users by presenting a different name than what’s shown.

How to fix

Ensure that accessibility label contains the text presented visually. Also, as a best practice, text presented visually should be at the start of accessibility label.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Download Copy