Variations in Details Tags

This factor counts how many keyword variations appear inside your expandable <details> elements — the collapsible disclosure widgets used for FAQs, optional notes, and hidden-by-default content. It is a count of matches within captured details text, not a ranking guarantee — a page with no details elements can score zero and still rank perfectly well.

Factor IDRG-KWD-046
FamilyKeyword Usage & Density
MeasurementVariation occurrence count
Measured zoneRaw captured details contents

What it measures

This factor counts keyword variations that appear inside expandable <details> elements. A details element is the native HTML disclosure widget a browser shows collapsed until the reader opens it, commonly used for FAQs, optional supporting notes, and disclosures. This factor totals how many recognized variations of your target terms surface in that captured details content across the page.

How RankGear measures it

RankGear extracts capture group two between recognized details tags in the script-free body without additional cleaning, then sums whole-word variation matches case-insensitively. Because the capture is taken as-is, any nested markup inside the element stays in the captured string. The result is a single count of variation occurrences found within details content.

What RankGear looks for

<details>
  <summary>What is included?</summary>
  <p>Optional supporting information, FAQs, or disclosures.</p>
</details>

How to optimize it

Use details for optional supporting information, FAQs, or disclosures whose content genuinely expands the page’s topical usefulness. Let relevant terms appear naturally where they fit the expanded content, and treat the count as an observation of how your disclosure widgets are written, not a target to inflate. Repetitive keyword text tucked into an expander does not serve the reader who opens it.

Important considerations

  • Collapsed content still contributes when it is present in the HTML — a closed details element is counted just like an open one.
  • Nested markup inside the element remains in the captured string and is not stripped before counting.
  • The factor does not assess whether the content is initially visible to the reader.
  • Do not hide repetitive keyword text inside expanders; the disclosure widget exists to organize genuine content, not to conceal padding.
  • This is a prioritization signal that relates to position within a measured result set, not a cause of ranking — correlation is not causation.

Related factors

Part of the Factors reference · how RankGear measures · glossary.