Skip navigation
github repo

Accordions

The accordion patterns used on HealthCare.gov are expandable sets of content intended to reduce the amount of text initially delivered on a page. They also allow site visitors to request more text without having to leave a page. We typically use accordions on explainer and article pages as well as on some sets of in-page navigation at various responsive breakpoints.

Content page accordions

Accordion content can be placed at any location within the body of an explainer or article page. Typically, the accordion is placed at the end of a block of text, allowing the user to get more detailed information if needed.

Example & Code

If you took too much or too little advance payment of your premium tax credit

If you took too much or too little advance payment of your premium tax credit and you had to pay back the difference on your tax return, or you got a big credit:

  • Update your 2015 Marketplace coverage application to make sure it includes your best estimate of your income for the year and see if your tax credit has changed. Also update any household information you haven’t already reported to the Marketplace. See how to update your account and your 2015 application now.
  • You can change how much of your premium tax credit you take in advance for 2015 to make sure it’s not too high or too low.
<div id="faq-container">
            <dl class="faq-question">
                <dt id="faq-1-q-1-1" class="question collapsed"><a class="title" tabindex="0" aria-controls="faq-1-a-1-1" aria-expanded="false"><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span><span id="APTCadjustment">If you took too much or too little advance payment of your premium tax credit</span></a></dt>
                <dd id="faq-1-a-1-1" class="answer" role="definition" style="display: none;"><p>If you took too much or too little advance payment of your premium tax credit and you had to pay back the difference on your tax return, or you got a big credit:</p>
                    <ul>
                        <li>Update your 2015 Marketplace coverage application to make sure it includes your best estimate of your income for the year and see if your tax credit has changed. Also update any household information you haven’t already reported to the Marketplace. See <a href="#">how to update your account and your 2015 application now</a>.</li>
                        <li>You can change how much of your premium tax credit you take in advance for 2015 to make sure it’s not too high or too low.</li>
                    </ul>
                </dd>
            </dl>
        </div>

Navigation accordions

The More Information section on the Get Answers page collapses at tablet breakpoints. The links beneath each topic are hidden from display unless a user opts to reveal them using the accordion caret.

Example & Code