Last modified: 16/Oct/2025
ScreenReaderText
You can provide text to TTS engines.
#Usage
import { ScreenReaderText } from '@kinsta/stratus'
const MyComponent = () => (
<ScreenReaderText>
This will happen here.
</ScreenReaderText>
)
#Props
#children
React.ReactNode
#shouldAlertScreenReader
boolean
role attribute of the component - Defaults to undefined#Types
ScreenReaderTextProps: props of theScreenReaderTextcomponent processed by stratusScreenReaderTextInterface:ScreenReaderTextPropsextended byHTMLAttributes<HTMLDivElement>
Read more about types here