bacoords / a11y-day-accordion-block

An accessible accordion block built for WP Accessibility Day 2023.

Home Page:https://bacoords.github.io/a11y-day-accordion-block/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WP Accessibility Day Accordion Block

👋 Created by @aurooba and @bacoords for 2023 WP Accessibility Day.

👀 View the slides for the talk here: A Recipe for an Accessible Accordion Block.

💻 To try out this block on InstaWP, check out our sandbox site.

Development

This plugin was scaffolded with @wordpress/create-block. If you'd like to develop from this repository, first install all of the dependencies:

npm install

Then run the build process in a watch mode:

npm start

Running Locally

To use the included local environment, make sure Docker is running and then run the following command:

npm run env start

and visit http://localhost:8888/wp-admin.

You should be able to log in with Username: admin and Password: password.

Learn more about wp-env.

About

An accessible accordion block built for WP Accessibility Day 2023.

https://bacoords.github.io/a11y-day-accordion-block/


Languages

Language:HTML 34.5%Language:JavaScript 32.9%Language:CSS 15.6%Language:SCSS 13.8%Language:PHP 3.4%