pixelalbatross/accordion-block

Installs: 513

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 0

Forks: 1

Open Issues: 0

Language:JavaScript

Type:wordpress-plugin

0.5.0 2023-10-08 11:17 UTC

This package is auto-updated.

Last update: 2024-04-23 11:02:20 UTC


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

  1. Download and extract the .zip file.
  2. Install the plugin via the plugin installer by uploading the .zip file.
  3. 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.