Kilotest: Diagnoses of legend missing violation by HTML element 265 on International Consortium of Investigative Journalists page

Basics

About the International Consortium of Investigative Journalists page

About HTML element 265

About the legend missing issue

Diagnoses

Here is how tools diagnose the legend missing issue for HTML element 265 of the International Consortium of Investigative Journalists page.

  1. Expected <code><legend></code> to be the first child of the <code><fieldset></code> element, but instead there is <code><label for="q" class="sr-only"></label></code>

    Tool: ASLint (eSSENTIAL Accessibility)

    Rule: legend_first_child_of_fieldset

  2. Fieldset does not contain a legend element. All fieldsets should contain a legend element that describes a description of the field group.

    Tool: HTML CodeSniffer (Squiz Labs)

    Rule: E-WCAG2AAA.Principle1.Guideline1_3.1_3_1.H71.NoLegend

  3. [failed] The `fieldset` element is neither inside nor referencing a `form` element.

    Tool: QualWeb (University of Lisbon)

    Rule: QW-WCAG-T3