https://github.com/colorful-tones/accordion-block
An accordion block for WordPress
https://github.com/colorful-tones/accordion-block
Last synced: about 1 month ago
JSON representation
An accordion block for WordPress
- Host: GitHub
- URL: https://github.com/colorful-tones/accordion-block
- Owner: colorful-tones
- Created: 2022-11-10T15:00:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-25T01:29:47.000Z (over 2 years ago)
- Last Synced: 2025-05-09T00:53:57.789Z (about 1 month ago)
- Language: JavaScript
- Size: 170 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Accordion block
A simple accordion block for WordPress. There are a few notable issues with the current implementation. One being that the [`RichText`](https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/rich-text/README.md) component still shows formatting toolbar, which makes it hard to edit the Accordion Title (toggle).
Most of the markup follows the [W3C ARIA Authoring Practices](https://www.w3.org/WAI/ARIA/apg/example-index/accordion/accordion.html).
Demonstration of Accordion block with the upcoming Twenty Twenty-Three theme.
