Accessibility · Library v2.7.1
Inline AI Prompt Accessibility Overview
Inline AI Prompt opens a nonmodal editing section and returns focus to its trigger when closed.
Keyboard interaction
| Key | Action |
|---|---|
| Enter / Space | Open the section from its trigger button. |
| Tab / Shift+Tab | Move through its controls without a modal focus trap. |
| Escape | Close the section, request cancellation if busy, and return focus to the trigger. |
In your application
- Use meaningful labels and keep focus visible in custom templates.
- Handle stop events by cancelling the backend request. The component cannot cancel a provider request by itself.
- Test streamed updates with assistive technology and avoid announcing every token.
Keep focus indicators visible, check contrast with your theme, and test at browser zoom. Try the component examples using only a keyboard.
Current limitations
- Live-region delivery varies by browser and screen reader. No compatibility certification is claimed.
- Application-owned dialogs, generated content and backend errors require their own accessibility checks.
This reference is based on the shipped source. It is not a WCAG conformance certificate or a claim that every browser and screen reader combination has been tested.
See the W3C ARIA Authoring Practices Guide for guidance on custom controls.