tinymce-a11y-checker
tinymce-a11y-checker copied to clipboard
Improve focus managmenet
This makes three changes to help improve focus management
- if the editor associated with an a11y checker is removed, close the checker
- when the checker is closed, focus the associated editor
- add the data-mce-checker attribute to the checker's Tray component. Consuming applications may use this to detect that even though focus may have left the editor, it is still within a compnent that can be considered a paart of the editor's ecosystem.