Practical guide

Keep essential page facts available before a visitor clicks

An expandable section can organize a long page. Check whether it reveals text already delivered to the browser or fetches the answer only after interaction, and keep the decision-changing facts easy to find.

A visitor comparing installation services should be able to find what is included, where the service is available and which conditions affect the booking. An accordion can keep the longer explanation manageable. Trouble starts when the only way to obtain an essential fact is to click a control that triggers a separate request.

The distinction is between presenting delivered content and loading missing content. Those implementations can look identical after a person opens the section, yet behave differently before that interaction. Review both states before calling the page complete.

Check what the first page response contains

Google’s lazy-loading guidance says Google Search does not interact with a page by clicking or scrolling. Its recommended loading approaches make relevant content available without requiring those user actions, and it asks site owners to test the implementation. That is guidance about Google Search, not a description of every AI assistant’s browser behavior.

Start with one important expandable section. Before clicking it, inspect the delivered HTML and the browser’s rendered page structure for the exact answer text. Then open the section and check whether a network request supplies text that was previously absent. A developer can help distinguish a styling change from a new data request.

Do not use the presence of the label as proof that the answer is present. A page containing “What is included?” may still omit the explanation until a service responds. Conversely, text can already be in the HTML while remaining visually collapsed. Record what you observed rather than labeling all accordions inaccessible or all rendered pages complete.

Two implementations of an expandable section: one reveals text delivered with the page, while the other requests missing text after a click.

Original implementation diagram. It compares content delivery, not search rankings or measured AI retrieval.

Put the decision-changing statement in the visible summary

For a fictional installation service, the visible page might say: “Installation includes fitting and a function check. Electrical repairs require a separate quote.” The expandable section can then explain the preparation steps and the circumstances that require additional work.

That division lets a person understand the offer without opening every section. It also keeps the qualification beside the promise it changes. A heading such as “Full installation included” would be misleading if the exception were available only several interactions later.

Use an informative section label, such as “Preparation before installation,” rather than repeating “Learn more.” The label should help someone choose what to open. Place essential eligibility, safety and price conditions in the ordinary reading path when they materially change the decision; disclosure widgets should organize detail rather than conceal it.

Use a disclosure control that works with a keyboard

The HTML details element provides a native disclosure widget, with summary supplying its label. Its content is shown when the widget is open. The following original example includes the detail in the page markup, so revealing it does not require a separate content fetch or custom JavaScript:

<p>Installation includes fitting and a function check.
Electrical repairs require a separate quote.</p>
<details>
  <summary>Preparation before installation</summary>
  <p>Clear the work area and confirm access with the installer.</p>
</details>

This is a fictional wording and markup example, not a complete service policy or an accessibility certification. Test the actual implementation with its production styling. Confirm that a keyboard user can reach the control, see focus, open it, read the content and continue to the next control. Check that focus does not disappear into an element hidden by your styles.

A custom component can also work, but it needs its own behavior checks. Replacing a button’s appearance with a triangle does not establish its keyboard operation or expose its state to assistive technology.

Test the page in the states readers can encounter

Scroll horizontally to read all columns. Use the arrow keys when the table is focused.

Content-delivery acceptance checks
State to inspectWhat to verifyWhat the check cannot establish
Initial HTML responseEssential text is delivered, not only its labelWhether a search engine indexed that text
Rendered page before interactionImportant statements and conditions are availableWhether every assistant can access them
Keyboard opening and closingFocus and disclosure behavior workFull accessibility conformance
Narrow screen with long textContent remains readable without clipped linesBehavior on every physical device
JavaScript disabled or request unavailableWhat information survives and what failsThat all visitors have the same failure

If a content request fails, the page should not silently present a section as complete when its answer is missing. A visible error and a working alternative route can help the reader. For static information, including the text in the initial response can remove that particular dependency; live account data may require a different approach.

Keep screenshots and the exact page version with the test record. A screenshot taken after every section was manually opened cannot establish what was available on arrival. Similarly, a successful local preview does not prove the live page behaves the same way after its scripts, styles and content service are deployed.

Fix the missing information before measuring its effects

The acceptance check is concrete: the intended reader can find the essential facts, open the supporting detail and understand the conditions. If the text was absent until a click, verify the revised delivery behavior on the public page.

Treat any later search or AI-visibility change as a separate measurement question. Better content availability is a property you can test directly; a promised citation increase is not an acceptance criterion for an accordion repair.

Sources and disclosure

Gist publishes this guide and sells AI visibility software. The Google and MDN documentation was checked on November 24, 2026. The installation example, diagnostic table and implementation recommendations are Gist’s editorial guidance. We did not run an AI retrieval study or certify a customer site. Google’s documented behavior should not be generalized to all AI crawlers or assistants.