Find us at BrightonSEO 25/26 April - STAND 18! Fill your swag bag!

Dealing with Front-end issues?

Crawl your website with Sitebulb for 300+ tech SEO checks

Try for Free

This Hint has been deprecated, and we no longer consider it best practice. In order to get the most accurate audit results from Sitebulb, please ensure you update to the latest version.

Low This Hint is of the lowest significance, and should only be addressed if there are not more serious issues which have not been handled. Issue This Hint represents an error or problem that needs to be fixed.

Contains a duplicate attribute

This means that the URL in question contains one or more DOM elements with the same attribute specified twice (e.g. an image with two src attributes).

Why is this important?

Browsers will use the first attribute value, and ignore subsequent attribute values. It is important these are cleaned up and fixed to ensure the correct value is used.

What does the Hint check?

This Hint will trigger for any internal HTML URL which contains DOM elements with the same attribute specified twice.

Examples that trigger this Hint:

The Hint would trigger for HTML URLs that contain an element with the same attribute specified more than once.

<div data-char="jonsnow" class="king-in-the-north" data-char="aegontargaryen">

How do you resolve this issue?

It is not valid to have the same attribute name twice in an element. What happens in practice is that the latter attribute is ignored by browsers. This may mean that the element does not render as intended, so this issue should be addressed an corrected by removing the duplicate attribute so that only the correct attribute remains.

To understand where the issues lie, you will need to investigate further using a HTML validation service. Within Sitebulb, you can jump straight to the corresponding W3 Validation page through the URL List.

W3 Validation

Further Reading

Sitebulb Desktop

Find, fix and communicate technical issues with easy visuals, in-depth insights, & prioritized recommendations across 300+ SEO issues.

  • Ideal for SEO professionals, consultants & marketing agencies.

Sitebulb Cloud

Get all the capability of Sitebulb Desktop, accessible via your web browser. Crawl at scale without project, crawl credit, or machine limits.

  • Perfect for collaboration, remote teams & extreme scale.