Block Accessibility Checks

Beskrivning

Accessibility is a crucial aspect of web content creation. Many organizations must adhere to strict WCAG (Web Content Accessibility Guidelines) requirements. While the Gutenberg block editor significantly enhances content management, it still allows the publication of content that may not meet basic accessibility standards. This plugin offers site owners and content editors configurable block checks. These checks can either enforce strict accessibility error notices to prevent publishing or provide warnings in the editor while still allowing publication.

The following is a list of checks that are configurable for core blocks. Each check can be set to error (default), warning or none.

  • core/button: Checks for text and link on each button
  • core/heading: Prevents the usage of an level one heading in the content
  • core/gallery: Checks for alternative text on an image
  • core/image: Checks for alternative text on an image
  • core/image: Adds a toggle to confirm image use as decorative allowing for bypass accessibility check
  • core/table: Checks for a table header row on each individual table block

Getting Involved

If you would like to get involved and contribute to the development of this plugin or view it’s source code you can find more information in the plugins GitHub repo.

Skärmdumpar

  • Heading block not meeting accessibility requirements for publishing
  • Heading block providing an warning that the block may not be accessibility
  • A simple set of block options

Installation

  1. Upload the plugin folder to your /wp-content/plugins/ folder.
  2. Go to the Plugins page and activate the plugin.

Vanliga frågor

How do I use this plugin?

  1. Once activated head to the ”Block Checks” page under the ”Settings” menu
  2. Configure the checks to your liking
  3. Click ”Save Changes”

These options will be automatically applied to existing blocks throughout your site and are active as you build new content.

How to uninstall the plugin?

Simply deactivate and delete the plugin.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Block Accessibility Checks” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

1.0

  • Plugin released.