-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I'm currently working on AX support for CSS Custom Highlights on chromium and saw that there's no support for grammar errors on macOS (or at least I couldn't manage to make VoiceOver announce grammar errors in any app, please correct me if this is not the case).
In the codebase there's no mapping for aria-invalid from AXInvalid to 'spelling' or 'grammar' like in other platforms (UIA, IA2 and Linux correctly use those). Spelling errors are mapped to text attribute NSAccessibilityMarkedMisspelledTextAttribute, while grammar errors are not supported at all (I haven't found a similar text attribute to the spelling one either).
I tried modifying the code in chromium to map those to AXInvalid:'spelling' or 'grammar' but it's not recognized by VoiceOver.
Probably we should update CoreAAM docs? Or I'm not sure if this is something that's pending on macOS?
@cookiecrook any thoughts on this?
cc @benbeaudry