pnpm add @vega-ui/reactAnnouncementFocus the demo to see what it exposes.
Labeling
Codedoes not label controls or regions.
Keyboard Behavior
Codehas no keyboard behavior.
Focus Behavior
Codeis not focusable unless explicitly composed into a focusable element.
Screen Reader Semantics
- The component renders semantic
<code>, which helps communicate inline code or identifiers.
Form Semantics
Codeis suitable for commands, field names, tokens, and identifiers referenced near form content.
Accessibility Risks
- using inline code styling for non-code content
- relying on color or background alone to distinguish code in dense text