pixelalbatross / accordion-block
Installs: 603
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 0
Forks: 1
Open Issues: 0
Language:JavaScript
Type:wordpress-plugin
Requires
- php: ^8.2
- composer-plugin-api: ^2.3
Requires (Dev)
- phpcompatibility/php-compatibility: dev-develop as 9.99.99
- phpcompatibility/phpcompatibility-wp: *
- phpstan/phpstan: ^1.11
- pixelalbatross/coding-standards: dev-main
- szepeviktor/phpstan-wordpress: ^1.3
README
The accordion block lets users show and hide sections of content on a page.
Description
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.
Requirements
- PHP 7.4+
- WordPress 6.1+
Installation
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.
Usage
This plugin requires no configuration.
Changelog
A complete listing of all notable changes to this project are documented in CHANGELOG.md.