Skip to content

whitespace-se/wordpress-plugin-a11ystack

Repository files navigation

Whitespace a11ystack for Wordpress

Wordpress plugin that adds a11ystack-specific enhancements and features to Wordpress.

How to install

If you want to use this plugin as an MU-plugin, first add this to your composer.json:

{
  "extra": {
    "installer-paths": {
      "path/to/your/mu-plugins/{$name}/": [
        "whitespace-se/wordpress-plugin-a11ystack"
      ]
    }
  }
}

Where path/to/your/mu-plugins is something like wp-content/mu-plugins or web/app/mu-plugins.

Then get the plugin via composer:

composer require whitespace-se/wordpress-plugin-a11ystack

Configuration

Set these constants to true to enable the feature.

  • WP_A11YSTACK_ENABLE_FEEDBACK_MODULE: Feedback module
  • WP_A11YSTACK_ENABLE_OPEN_GRAPH_FIELDS: Open graph fields

Contributing

Generate new pot file with this command:

wp i18n make-pot . --exclude=vendor,wp-content,node_modules languages/whitespace-a11ystack.pot