# Accordion Bug

When using the **"Paste as Text"** feature to customize an accordion, the article editor may produce an HTML artifact in the source code that reads as ***open="open".*** See the snippet below for an example.

```markup
<details open="open">
<summary>Premise</summary>
<p>The premise of the show is, because it&rsquo;s the world according to Jeff Goldblum, it&rsquo;s me with all the information and experience that my life has entailed up til this point now plopping me I go the world of and exploration of one thing or another. It&rsquo;s not as if I do some extra homework/research/bone up on it so that I tend to know something about it and then tell you about it. No, it&rsquo;s not like that.</p>
<p>&mdash;&thinsp;Jeff Goldblum, host[3]</p>
</details>
```

As a result, your accordion(s) will be expanded upon page load. This may be a desirable effect&#x20;

![An example of the accordion bug where the content is expanded upon page load.](/files/-MUBvysYO8300tUvTZe6)

## Work-Around

Open the HTML source code and delete the ***open="open"*** bit of code.

![](/files/-MUByxb0HSPq1hWkpZSd)

Select "OK" to close the modal window and save your work.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kmdesign.services.gatech.edu/components/accordions-coming-soon/accordion-bug.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
