Source: Invalid HTML code

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      The page “Source” has invalid HTML code since elements are nested inappropriately.

      Steps to Reproduce

      1. Navigate to the "Source" page
      2. Inspect the code.
      3. Using https://validator.w3.org/nu/ observes that the element is not nested properly.

      Screenshot

      Actual Results

      The HTML code of the website does not validate against the HTML 5 specification. For instance, the source code presents 13 errors and 6 warnings when checked with the NU HTML checker.
      These errors were regarding the elements with duplicate `id` attributes.
      This may result in user agents, including assistive technologies, not accurately interpret and parse content.

      Expected Results

      Ensure that all pages have a valid markup. However, to meet accessibility conformance, it is necessary that the following three main requirements are met:

      • All elements are nested properly.
      • All elements have start and end tags.
      • Within each page, the values of the id attributes are unique

      Workaround

      Currently, there is no known workaround for this behaviour. A workaround will be added here when available.

      Environment

      MacBook Pro (16-inch, 2019)
      macOs Ventura 13.5.1
      Chrome - Version 113.0.5672.63 (Official Build) (x86_64)
      Firefox- Version 92.0 (64-bit)
      Safari- Version 16.4 (18615.1.26.110.1)
      JAWS- Version 2022
      NVDA- Version 2021.2
      Voiceover - Version Latest

            Assignee:
            Unassigned
            Reporter:
            Nayan Kamble (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: