Single h1 Per Page Rule Check
Explicit caller observed h1 count against a one-h1 style rule; not a HTML parsing, standard validity or accessibility certification.
Description
Single h1 Per Page Rule Check: return matches caller one h1 rule.
A publication can adopt a one-h1 policy as an editorial convention. Checking a supplied heading count is narrower than auditing document semantics.
This tool returns matches caller one h1 rule. Use the stated units and model convention when interpreting these fields.
When to use this tool
Use this tool when the supplied inputs match the specific operation described above and you need a repeatable result under its stated convention.
- Check the supported input and output contract against an existing calculation or observation.
- Use the complete example to confirm units, selector spelling and result interpretation.
How to use the tool and how it works
- Enter every field in the input table using the stated units and the exact supported selector spelling where applicable.
- Run the tool. Correct input errors before interpreting an output.
- Read the result fields below; use accompanying flags and the stated sign, boundary or model convention when interpreting a number.
Require a bounded nonnegative integer observedH1Count and compare it exactly with one.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| observedH1Count | Observed h1 count. | Integer; from 0 to 1000000 inclusive |
| Output field | Interpretation |
|---|---|
| result | Object containing the following named result fields. |
| result.matchesCallerOneH1Rule | Whether the supplied count equals one; not a universal HTML conformance judgment. |
{
"input": {
"observedH1Count": 1
},
"output": {
"result": {
"matchesCallerOneH1Rule": true
}
}
} Limitations and assumptions
- The result reports the caller's one-h1 rule, not a universal HTML validity or accessibility requirement.
- Every declared field is required and unexpected fields are rejected. Numeric inputs must be finite; input errors are distinct from a valid false result or an explicitly qualified output.
- Extremely large inputs and nonfinite or excessively large outputs are rejected. List positions reported by the tool use zero-based indices unless stated otherwise.
Alternative or Complementary methods
Check the underlying observations, units and conventions independently before using the result in a larger workflow. The tools listed below address nearby tasks; compare their inputs and scope before substituting one for this operation.
References
Similar or alternative tools
- base href single instance warning
A base href influences relative URL resolution in a document.
- hidden=until-found Find-In-Page Lookup
Bounded HTML feature/convention note; no full document audit or live browser compatibility determination.