Problem/Motivation
The scope of this issue is to implement some UX/UI improvements such as:
- Limit the tip to its title, since details are explained in the editoria11y tooltip itself
- Reproduce some chunk of the content, ellipsed if necessary.
- Hide suggested fix and Save changes button until they are usable.
- Tab at Text and formats page to change from 'Fix Accessibility Issue' to 'AI Editoria11y Accessibility Checker' to provide better usability
- In the description of the module at module's page, neither at README.md we mention the WCAG 2.1 AA...and it's in the prompt directly.
- Override the default dialog max width so it doesn’t ever overflow horizontally, something like
body .ai-editoria11y-dialog.ui-dialog:not(.ui-dialog-off-canvas) { max-width: max(90vw, 320px); } - Instead of rendering the bare HTML the AI returned create a Before and After view and show the difference such as: atrribute, text content changes. If it is HTML structural change like tables, render it.
Issue fork ai_editoria11y-3575707
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 #2
joevagyok commentedComment #3
joevagyok commentedComment #4
joevagyok commentedComment #6
joevagyok commentedComment #7
nikro commentedAlrighty!
Tested this as well, works well, and looks good :) great job.
I think it's good to be merged.
Comment #8
joevagyok commentedThanks!