[InlineCompletionItemProvider][Accessibility] Make screen reader read grey text when it shows up #158191
Labels
accessibility
Keyboard, mouse, ARIA, vision, screen readers (non-specific) issues
feature-request
Request for new features or functionality
inline-completions
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
We are using grey text api(InlineCompletionItemProvider) for our IntelliCode Completions Extension in VSCode.
We are now working on the accessibility tasks for our extension. We’d like to let the screen readers(like NVDA) to read the grey text when it shows up.
Like in this case:
We’d like screen readers to read something like “Suggestions: ‘const functionName = onnxModel.Functions[]’ Tab to accept”. Any ideas/suggestions about how to do this?
We noticed out in VSCode 'Screen Reader Optimized' mode, the tooltip will be like:
If user click/select this tooltip, screen reader will read this content. However, is it possible that screen reader can read this info as long as grey texts shows up (even if tooltip doesn’t show up)?
The text was updated successfully, but these errors were encountered: