Kilotest: Diagnoses of legend missing violation by HTML element 628 on Mozilla Foundation page

Basics

About the Mozilla Foundation page

About HTML element 628

About the legend missing issue

Diagnoses

Here is how tools diagnose the legend missing issue for HTML element 628 of the Mozilla Foundation page.

  1. Expected <code><legend></code> to be the first child of the <code><fieldset></code> element, but instead there is <code><div class="mzp-c-form-errors hidden" id="newsletter-errors" data-testid="newsletter-error-message"></div></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. <fieldset> element does not have a <legend>

    Tool: Accessibility Checker (IBM)

    Rule: fieldset_legend_valid

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

    Tool: QualWeb (University of Lisbon)

    Rule: QW-WCAG-T3