SiteLint documentation and guidelines

Element has the same content as its title attribute

Description

Rule ID: label-duplicated-content-title

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