The accordion block lets users show and hide sections of content on a page.
An accessible, and progressively enhanced accordion block for the WordPress block editor.
No styling is provided other than the essentials for toggling the visibility of accordion sections and working without JavaScript.
It was heavily inspired on the accordion patterns recommended by the W3C Web Accessibility Initiative (WAI) and the GOV.UK Design System team.
The icons are from Themify Icons.
- PHP 7.4+
- WordPress 6.1+
composer require pixelalbatross/accordion-block
- Download and extract the .zip file.
- Install the plugin via the plugin installer by uploading the .zip file.
- Activate the plugin.
This plugin requires no configuration.
A complete listing of all notable changes to this project are documented in CHANGELOG.md.