Edinburgh GEL

Question and answer list

This is implemented by using an accordion-like design.

Overview

  • The first question should be open by default at page load.
  • Clicking a question should reveal the answer content.
  • Answer content could be any rich content allowing approved tags and elements.
  • Whether or not clicking on a new question should close the previous question should be a choice for the CMS user.

Accessibility review

Not yet tested.

Accessibility issues

  • The user should be able to navigate between links using the keyboard.
  • Accordion-style functionality will rely on JavaScript. In the absence of JavaScript, all question and answer pairs should be displayed.

Choose a colour

Update
You are viewing the colour: Red (default), hex-value: #d50032

Choose viewport

      
<div class="panel-group" id="accordion">
  <div class="panel">
<div class="panel-heading">
  <h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
  Collapsible Group Item #1
</a>
  </h4>
</div>
<div id="collapseOne" class="panel-collapse collapse in">
  <div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
  </div>
</div>
  </div>
  <div class="panel">
<div class="panel-heading">
  <h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
  Collapsible Group Item #2
</a>
  </h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse">
  <div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
  </div>
</div>
  </div>
  <div class="panel">
<div class="panel-heading">
  <h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
  Collapsible Group Item #3
</a>
  </h4>
</div>
<div id="collapseThree" class="panel-collapse collapse">
  <div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
  </div>
</div>
  </div>
</div>