THE GITHTML FIELD GUIDE
Find the overlay hiding an HTML report
When a report is covered by a banner or invisible layer, inspect stacking contexts and the overlay's container before raising the article's z-index. A child cannot escape its parent stacking context merely by using a larger number. Remove unnecessary overlays from static reading copies and preserve the document's normal flow.
Identify the specific failure
An export can retain a loading screen that was supposed to disappear after application startup. The article may be present underneath it. Transforms, opacity, and positioned elements can establish separate stacking contexts, making arbitrary z-index changes ineffective.
Make a narrow correction
Locate the covering element in browser inspection and temporarily hide that element only. If the text is revealed, determine whether the overlay has any useful role in the reading artifact. A decorative or loading-only layer usually should not be exported as a permanent obstruction.
- Identify the covering element and whether it is still intercepting interaction.
- Inspect ancestor stacking contexts instead of repeatedly increasing z-index.
- Remove obsolete loading or decorative layers from the reading export.
.export-loading-overlay { display: none; }Distinguish a covering layer from missing report data
Imagine an export that opens with a translucent loading veil over a completed results table. In browser inspection, select the veil and hide it temporarily. If the rows become readable, note the veil's purpose and the application event that normally removes it. The repair is not to place every row above the veil. It is to export a completed reading state, provided the rows really represent completed data. Compare the row count and any completion message with the approved original before treating the table as finished.
A different case involves a small note that should appear above a decorative panel but remains behind it despite a very large z-index. Trace each element's ancestors until their stacking contexts meet. A transform on the note's parent can keep the note inside a lower context. Raising only the note's number cannot change the relative order of the two parent contexts. Remove an unnecessary context-creating decoration or adjust the relevant parent relationship, rather than spreading extreme z-index values through unrelated parts of the document.
Also distinguish ordinary stacking from clipping. A panel with hidden overflow can cut off a child's visible area even when that child is above its siblings. If disabling the clip reveals the missing text while changing z-index does not, solve the overflow boundary separately. Keep the final reading layout simple enough that warnings, captions, and links do not require overlapping panels to be understood. A screenshot proving that the text is visible should be accompanied by an interaction check wherever the former layer covered a link.
Verify the repaired artifact
Check that removing the layer does not expose misleading unfinished data. Visible content is not automatically complete content.
Sources and further reading
AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.