Skip to main content
No Result Found

inappropriate-group-label

Rule Severity : Serious

Description

Group field labels must clearly describe the purpose of the group. This ensures that users, especially those relying on assistive technologies, can understand the context and relationship of the grouped fields.

The inappropriate-group-label rule aligns with WCAG Success Criterion 2.4.6 (Headings and Labels), which requires that headings and labels describe their topic or purpose. In this particular rule, labels are considered, not headings.

Examples

In the following example, the group label is vague and does not accurately describe the purpose of the grouped fields. This violates the inappropriate-group-label rule because the label does not provide meaningful context.

Incorrect Sample
Copy icon Copy

In the following corrected example, the group label is descriptive and clearly indicates the purpose of the grouped fields:

Correct Sample
Copy icon Copy

How to fix?

To fix violations of the inappropriate-group-label rule, follow these steps:

  1. Identify all group labels on your webpage.
  2. Ensure that each label accurately describes the purpose of the group.
  3. Use clear and concise language that reflects the context of the grouped fields.
  4. Avoid vague or generic labels that do not provide meaningful information.

Reference

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 Check Circle