A11yFirst Plugins for CKEditor
This module adds the A11yFirst CKEditor plugins to Drupalâs CKEditor., (*1)
Note: This is experimental, and not governed by A11yFirst. Use at your own risk., (*2)
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., (*3)
Installation
Before the move to the A11yFirst repo, you can composer require mtholyoke/a11yfirst
. We will likely change the name after the move., (*4)
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., (*5)
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)., (*6)
Heading button highlights but doesnât show â for selected level., (*7)
All button and dialog styles are different from A11yFirstâs sample., (*8)
Implement some tests, maybe?, (*9)
Make this into a contrib module at drupal.org once we feel like enough of those things above are resolved., (*10)