Kilotest: Diagnoses of label reference invalid
violation by HTML element 270 on Freedom of the Press Foundation page
Basics
About the Freedom of the Press Foundation page
- URL: https://freedom.press/
- Tested 30 days ago by job
705on 2026-05-03 at 04:33
About HTML element 270
- Tag name:
BUTTON - Text:
Get in Touch
- Start tag:
<button class="nav-item-control" id="control-45" aria-controls="inner-menu-45" aria-expanded="false" aria-labelledby="nav-link-45"> - XPath:
/html/body/div[1]/header[1]/div[1]/div[1]/nav[2]/ul[1]/li[2]/div[1]/ul[1]/li[4]/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 270 of the Freedom of the Press Foundation page.
- This form control contains an aria-labelledby attribute, however it includes an ID "nav-link-45" 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 - The aria-labelledby attribute references nav-link-45, which is not the ID of any element in this document.
Tool: Html Checker API (World Wide Web Consortium)