mtholyoke/a11yfirst

This package is abandoned and no longer maintained. No replacement package was suggested.

Adds the A11yFirst plugins to CKEditor.

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

Language:JavaScript

Type:drupal-module

v0.7.1 2018-03-14 18:12 UTC

This package is auto-updated.

Last update: 2023-02-19 07:26:02 UTC


README

This module adds the A11yFirst CKEditor plugins to Drupal’s CKEditor.

We are currently in process of moving this module to a new home: https://github.com/a11yfirst/drupal-plugin

Note: This is experimental, and not governed by A11yFirst. Use at your own risk.

Specifically, the source code of the plugins is copied from their official distribution and included in this repo, since they are not otherwise independently available. This isn’t ideal, but it (mostly) works until someone comes up with a better plan.

Installation

Before the move to the A11yFirst repo, you can composer require mtholyoke/a11yfirst. We will likely change the name after the move.

This module requires the CKEditor FakeObjects module. While Composer will fetch its PHP code, the installation also requires getting that plugin’s JavaScript directly from https://ckeditor.com/cke4/addon/fakeobjects before it can be enabled.

TODO

Drupal-specific documentation about what’s going on. Drupal likes to get its hooks all over CKEditor config, so a lot of things that are managed internally in the official distribution become external with this integration. This is also not ideal, but it’s far easier than replacing the editor entirely (which would have the same problems, but for all the other config also).

Heading button highlights but doesn’t show ✓ for selected level.

All button and dialog styles are different from A11yFirst’s sample.

Implement some tests, maybe?

Make this into a contrib module at drupal.org once we feel like enough of those things above are resolved.