firebase / friendlyeats-web

Apache License 2.0
437 stars 393 forks source link

WCAG 4.1.1: Ensures every id attribute value of active elements is unique (.product-icon__link[data-label="gmp_firestore"][href$="firestore"]) #219

Open A11Ybot-OP opened 2 years ago

A11Ybot-OP commented 2 years ago

Issue

Ensures every id attribute value of active elements is unique (duplicate-id-active)

Target application

Firebase

Element path

.products-colslist[role="list"] > li[role="listitem"]:nth-child(1) > .product-icon > .product-iconlink[data-label="gmp_firestore"][href$="firestore"]

Snippet

<a id="product-icon" class="product-icon__link gc-analytics-event" href="/products/firestore" data-category="productIcon" data-action="linkClick" data-label="gmp_firestore" aria-hidden="true" tabindex="-1">

How to fix

Fix any of the following:
  Document has active elements with the same id attribute: product-icon

Environment

Chrome version 98.0.4758.102