We would like to request a new feature (or enhancement to existing behaviour) that allows editors to hide fragments in the page editor in a way that removes them entirely from the published HTML output. Currently, hidden fragments remain in the DOM and are only visually suppressed through CSS. This creates several content-management, business, and SEO risks.
Current Behaviour
When an editor hides a fragment in the page layout editor (using the eye icon), the fragment is no longer visible to end users. However, its HTML markup still appears in the rendered page. In other words, fragments marked as hidden are still fully delivered to clients and crawlers, despite being visually suppressed.
Why This Is a Problem
Search engine indexing of hidden content
Hidden fragments remain visible to crawlers parsing raw HTML. Search engines may treat this as “hidden text,” which is considered a potentially manipulative SEO pattern and can lead to ranking penalties or de-indexing.
Unintentional exposure of draft, unpublished, or temporarily hidden content
Editors may use the “hide fragment” option to temporarily remove specific content from the live page — for example while preparing updates, reviewing text, or replacing one business-specific message with another that will later be restored. Because hidden fragments remain in the HTML, such draft or business-sensitive information may unintentionally become publicly accessible and indexable, even though it is intended to be excluded from the published page for a limited time.
Mismatch between editor expectations and actual output
Editors reasonably assume that “hidden” content is not part of the published page. The current implementation breaks this expectation, creating confusion and causing unpredictable SEO and content-governance outcomes.
Long-term SEO risks
Repeated presence of hidden-but-indexable content may reduce search-engine trust, impacting long-term ranking stability and the overall SEO profile of the site.
Requested Enhancement
We propose adding an option or new behaviour that allows hidden fragments to be fully excluded from the server-side HTML output. Specifically:
-
When a fragment is marked as hidden in the editor, it should not be included in the published DOM at all.
-
Alternatively, provide a configuration flag or property to switch between the current visual-only hiding and full HTML exclusion.
-
Ideally, this behaviour should be supported for both fragments and nested content elements.