Skip to the content
Konstruktor UI

Website pieces

Frequently asked questions

An exclusive accordion of native <details>: give every item the same name and only one stays open. It opens without a script, with the keyboard, and find-in-page opens the item that holds the match.

CSS only

Examples

Questions on a pricing page

Frequently asked questions

Can I change the plan later?

Yes, at any time. The new price applies from the next billing period, and we credit what you paid for the rest of the current one.

Where is my data stored?

In two data centres in Frankfurt am Main, encrypted at rest. Backups are kept for 30 days.

Da li mogu da izdajem e-fakture preko SEF-a?

Da. Povežite nalog Sistema elektronskih faktura jednom, a zatim svaka faktura ide i u SEF, sa statusom koji vidite u listi.

Gibt es eine Datenverarbeitungsvereinbarung nach Artikel 28 DSGVO?

Ja. Sie finden die Auftragsverarbeitungsvereinbarung in den Einstellungen unter „Rechtliches“ und können sie dort unterschreiben.

What happens when I stop paying?

Your account becomes read only for 90 days. You can export everything as PDF and CSV during that time. After that it is deleted.

HTML
<div class="kui-section-head">
  <h2 class="kui-h3">Frequently asked questions</h2>
</div>
<div class="kui-accordion">
  <details name="faq-pricing" open>
    <summary>Can I change the plan later?</summary>
    <div class="kui-accordion__body"><p>Yes, at any time. The new price applies from the next billing period, and we credit what you paid for the rest of the current one.</p></div>
  </details>
  <details name="faq-pricing">
    <summary>Where is my data stored?</summary>
    <div class="kui-accordion__body"><p>In two data centres in Frankfurt am Main, encrypted at rest. Backups are kept for 30 days.</p></div>
  </details>
  <details name="faq-pricing">
    <summary>Da li mogu da izdajem e-fakture preko SEF-a?</summary>
    <div class="kui-accordion__body"><p>Da. Povežite nalog Sistema elektronskih faktura jednom, a zatim svaka faktura ide i u SEF, sa statusom koji vidite u listi.</p></div>
  </details>
  <details name="faq-pricing">
    <summary>Gibt es eine Datenverarbeitungsvereinbarung nach Artikel 28 DSGVO?</summary>
    <div class="kui-accordion__body"><p>Ja. Sie finden die Auftragsverarbeitungsvereinbarung in den Einstellungen unter „Rechtliches“ und können sie dort unterschreiben.</p></div>
  </details>
  <details name="faq-pricing">
    <summary>What happens when I stop paying?</summary>
    <div class="kui-accordion__body"><p>Your account becomes read only for 90 days. You can export everything as PDF and CSV during that time. After that it is deleted.</p></div>
  </details>
</div>

Classes and attributes

.kui-accordion
The framed list of items.
details name="GROUP"
One question. The same name on every item makes the accordion exclusive. open on one item opens it at first.
summary
The question. The chevron is drawn by CSS.
.kui-accordion__body
The answer.

Keyboard

Tab
Moves from question to question.
Enter or Space
Opens or closes the focused question.

Accessibility

  • details and summary are announced as a disclosure with its expanded state by every screen reader; no ARIA is needed.
  • Put the whole list under one heading, and keep each question short so the list can be scanned.
  • Browsers that do not know the name attribute let several items open; nothing breaks.

Do and do not

Do

  • Answer the questions people really ask in support mail.
  • Start the answer with yes or no when the question asks for one.

Do not

  • Do not hide information that everyone needs, such as the price, inside a question.
  • Do not put links that are the only way to an important page inside a closed answer.