Kilotest: Diagnoses of label reference invalid
violation by HTML element 251 on Freedom of the Press Foundation page
Basics
About the Freedom of the Press Foundation page
- URL: https://freedom.press/
- Tested 38 days ago by job
mwyon 2026-04-24 at 21:54
About HTML element 251
- Tag name:
BUTTON - Text:
Transparency
- Start tag:
<button class="nav-item-control" id="control-44" aria-controls="inner-menu-44" aria-expanded="false" aria-labelledby="nav-link-44"> - XPath:
/html/body/div[1]/header[1]/div[1]/div[1]/nav[2]/ul[1]/li[2]/div[1]/ul[1]/li[3]/div[1]/button[1] - Bounding box: x = 0, y = 0, width = 0, height = 0
About the label reference invalid
issue
- Why it matters: User cannot get help understanding an item in a form
- Priority: highest
- Related WCAG standard: 1.3.1
Diagnoses
Here is how tools diagnose the label reference invalid
issue for HTML element 251 of the Freedom of the Press Foundation page.
- This form control contains an aria-labelledby attribute, however it includes an ID "nav-link-44" that does not exist on an element. The aria-labelledby attribute will be ignored for labelling test purposes.
Tool: HTML CodeSniffer (Squiz Labs)
Rule:
W-WCAG2AAA.Principle1.Guideline1_3.1_3_1.ARIA16,ARIA9