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

Command icon 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

deciphered created an issue. See original summary.

  • deciphered committed a842fca4 on chore/devcontainer
    feat(#3642690): show findings while editing
    

  • deciphered committed a842fca4 on feature/108-docs
    feat(#3642690): show findings while editing
    

  • deciphered committed a842fca4 on feature/113-hardening
    feat(#3642690): show findings while editing
    

deciphered’s picture

Status: Active » Reviewed & tested by the community

deciphered’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.