Skip to Content

CT - Accordion


Specific Guidance

The Accordion content type allows you to display up to five headings, each with corresponding content that users can expand or collapse by clicking the +/- icon on the right of each heading.

Features & Options

  • You can include an optional introduction above the accordion.
  • You can choose to:
    • Display the first item fully expanded when the page loads.
    • Keep all items collapsed by default, showing only the headings.
  • This content type can be used on any page of your site. It’s particularly useful for organizing large amounts of information in a succinct, user-friendly format, such as:
    • FAQs
    • Conference schedules
  • It must contain at least two headings and corresponding content; otherwise, consider using a different content type, such as General Content.

Linking to a Specific Accordion Item

You can link directly to a specific accordion item—useful for directing users to relevant content.

How to Copy a Direct Link:

  1. Click on the accordion title of interest. This will open the content and update the page URL.
  2. Copy the updated URL from the browser’s address bar.
  3. Share the link via email, chat, or embed it on another webpage.
  4. Alternatively, right-click on the accordion title and select Copy Link Address (menu wording may vary by browser).

General Guidance

  • Organise Content Blocks: Avoid condensing all information into a single content block. If your content includes multiple data types, structure it into separate blocks for easier maintenance and future edits.
  • Use Headings Properly: Headings should be used to group content and establish hierarchy, not for styling. Proper heading usage improves both accessibility and readability.
  • Internal and External Links: When linking within your website, use Section Links and Content Links, as the Web CMS automatically updates these if content is reorganised. For external links, always use the full URL of the destination website or resource.
  • Third-Party Content and Custom Code: Do not embed unapproved third-party content or add custom code without consulting our team via the IT Service Desk.

Visit our section How to Write for the Web for some guidance on creating and maintaining content on your website.

Images and Documents

All assets for use on our website must be properly prepared before they are added to the Media Library.

  • Copyright Compliance: Ensure all assets are sourced responsibly. If using third-party assets, obtain the necessary permissions before uploading to avoid copyright infringements.
  • Accessibility: Documents must be fully accessible before being added to the Media Library for website use.
  • Optimising Assets: Images must match the required dimensions (Width x Height) for use with Content Types. These requirements are provided in field descriptions and form guidance. Document file size must be optimised for upload to the Media Library and for use on the web. The maximum file size for upload to the Media Library is 5MB (megabytes).
  • Filename Convention: Users must ensure that assets are named correctly before they are uploaded to the Media Library. Assets must only contain lowercase letters (a to z), numerals 0-9) and hyphens (-). Avoid spaces, special characters, or uppercase letters.

Visit our Media Library information section for more guidance and resources.

Accessibility Guidance

Please use the following guidance to help make sure your content adheres to accessibility regulations:

  • Do not create images with embedded text.
  • Do not add image Alt Text / Description to your image if it is decorative.
  • Do not use generic link text such as 'Click Here' and 'Read More'.
  • Do not add HTML elements such as span, div, h1 or CSS to any of the fields to change the structure or styling of the Content Type. It will be removed by our team.
  • Ensure that you have added a descriptive title attribute to any third party embeds on your website such as video embeds for Panopto and YouTube.

Visit our Accessible Content Guidance for more information on how to make sure your website content is accessible.

Form Field Guidance

Name: CT - Accordion

Description: A vertical list of headers that website visitors can interact with to show and hide sections of related content on a page.

Field NameField DescriptionSizeTypeRequired
NameEnter a descriptive and easily identifiable name for your content block.80 Charactersplain textYes
Introduction (optional)Add an optional introduction paragraph (limit: 2000 characters). Do not add HTML code, as it may break the layout and affect accessibility.2000 CharactersHTMLNo
Title 1Add a short and descriptive title. Do not add HTML code, as it may break the layout and affect accessibility.500 Charactersplain textNo
Text 1Use the HTML Editor to write and structure text information. Do not add bespoke HTML, CSS, JavaScript, or unsupported code without Web Support Team approval.8000 CharactersHTMLNo
Title 2Add a short and descriptive title. Do not add HTML code, as it may break the layout and affect accessibility.500 Charactersplain textNo
Text 2Use the HTML Editor to write and structure text information. Do not add bespoke HTML, CSS, JavaScript, or unsupported code without Web Support Team approval.8000 CharactersHTMLNo
Title 3Add a short and descriptive title. Do not add HTML code, as it may break the layout and affect accessibility.500 Charactersplain textNo
Text 3Use the HTML Editor to write and structure text information. Do not add bespoke HTML, CSS, JavaScript, or unsupported code without Web Support Team approval.8000 CharactersHTMLNo
Title 4Add a short and descriptive title. Do not add HTML code, as it may break the layout and affect accessibility.500 Charactersplain textNo
Text 4Use the HTML Editor to write and structure text information. Do not add bespoke HTML, CSS, JavaScript, or unsupported code without Web Support Team approval.8000 CharactersHTMLNo
Title 5Add a short and descriptive title. Do not add HTML code, as it may break the layout and affect accessibility.500 Charactersplain textNo
Text 5Use the HTML Editor to write and structure text information. Do not add bespoke HTML, CSS, JavaScript, or unsupported code without Web Support Team approval.8000 CharactersHTMLNo
Collapse AllThe first accordion item stays open by default. Check 'Yes' to keep all accordions closed when the page loads.2048 CharactersCheck BoxNo
Margin BottomIncrease the default whitespace between this content block and the one below by adding a larger margin. Maintain consistent margins between content blocks whenever possible.80 CharactersSelect BoxNo