Problem/Motivation
Authors only learn what Vale found when they save, when an error refuses the save and a warning shows after the fact. Authors should see findings while they type, where the text is.
Proposed resolution
- In CKEditor 5, add a Vale findings toolbar button. Each finding is underlined, and a card shows its level, message and rule on hover or when the caret is in it.
- Under text areas and text fields, list the findings in a section that opens by itself only for an error.
- Check after a pause in typing, with the field's own settings, language and text format, in the browser build when it is installed and on the server otherwise.
- Add a "Show findings while editing" setting to each widget of a checked field.
- Tell a screen reader when a field's findings change.
Remaining tasks
- Review the merge request.
User interface changes
A toolbar button and marks in CKEditor 5, a findings section under text areas and text fields, and a widget setting on the form display.
API changes
None.
Data model changes
None.
Issue fork vale-3642690
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
decipheredComment #8
deciphered