Skip to content

[$40]Id attribute value must be unique #3095

Closed
@kkartunov

Description

@kkartunov

Steps to Reproduce

  1. Go to https://www.topcoder.com/community/accessibility-testing
  2. Open DevTools (right click -> inspect)
  3. In the Elements tab, open the search bar (Cmd+F on Mac)
  4. Search for the duplicate ids, using xpath:
    //[@id="tru-style"]
    //
    [@id="a"]
    //*[@id="b"]

Expected Result
ids should be unique

Actual Result
Notice the respective ids are used in multiple elements

Device: Desktop/Labtop
Browser: Chrome

WCAG Category: 4. Robust
WCAG Level: A
WCAG Success Criterion: 4.1.1 Parsing
Screen Reader Used: N/A
Accessibility Audit Tool used: N/A

Attachment
https://topcodermsft-my.sharepoint.com/personal/msft-copilots_topcodermsft_onmicrosoft_com/Documents/Forms/All.aspx?cid=2521ab22%2D4cea%2D4606%2Da210%2D50280914399c&FolderCTID=0x0120005C598A51049FC14CBA882E1AEE168F51&id=%2Fpersonal%2Fmsft%2Dcopilots%5Ftopcodermsft%5Fonmicrosoft%5Fcom%2FDocuments%2F%5BFAST%5D%20Test%20for%20Accessibility%20Series%2Fyoctocode%2Fbug%202

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions