Kilotest: Diagnoses of speculation rules script element invalid violation by HTML element 0 on Prometheus page

Basics

About the Prometheus page

About HTML element 0

About the speculation rules script element invalid issue

Diagnoses

Here is how tools diagnose the speculation rules script element invalid issue for HTML element 0 of the Prometheus page.

  1. Each rule in the prefetch array must only contain the properties source, urls, where, and eagerness.

    Tool: Html Checker API (World Wide Web Consortium)

  2. A script element with a type attribute whose value is speculationrules must contain a JSON object with at least one of the properties prefetch or prerender.

    Tool: Html Checker API (World Wide Web Consortium)