h5p-editor-php-library
h5p-editor-php-library copied to clipboard
New Feature: Add Accessibility checker to default CKEditor button toolbar
Please see if you can add Accessibility checker (button) to CKEditor https://ckeditor.com/ckeditor-4/accessibility-checker/
Generate a new version with "Accessibility checker" and have a hosting environment (Moodle/WP/Drupal/...) system setting to show/hide this new button.
The default ckeditor setup for the H5P content types is limited, i.e. there are few buttons in the toolbar. So I am wondering what kind of accessibility problems it could find? The only thing I would imagine it could find is bad contrast for text with a background color set, but it might be more? Do you know what it typically could find in the H5P context?
They are using the https://github.com/quailjs libraries which are based on WCAG 2 guidelines. (actually, the original quailjs project is no longer maintained, and they recommend a switch to aXe)
I am more concern about what users can copy and paste into H5P components, and not what they can break when using its limited set of buttons. (I have unpleasant "have to clean" experience with users pasting Word (MS) content into CKEditor, over the years)
I am thinking about an option for the system administrator, to be able to decide if this new accessibility checker button is available or not, like what we did with the "RTL/LTR" BIDI buttons, here: https://github.com/iucc/h5p-moodle-plugin/commit/c2b0ae53c58a28f97ccd24a81d79cc86dbcfa4db What do you think?
It could be something. Do note that H5P will typically remove any html tags that are pasted in if they can't be added via the limited ckeditor options allowed for the field
Thank you.