1. Home
  2. Docs
  3. SiteLint
  4. Accessibility Rules
  5. label-duplicated-content-title

label-duplicated-content-title

Print this article

    Description

    This rule determines if a given element <label> contains attribute title with the same accessible name.

    Context

    Let’s examine following example:

    <label for="example" title="This is an example">This is an example</label>

    Assuming screen reader can read title. In above case then This is an example will be read twice. To avoid that this rule helps to find such cases.

    Note that by default, for example, VoiceOver doesn’t read title until Hints are turned on.

    Standard

    Accessibility, Best Practices

    Was this article helpful to you? Yes No