Screen reader only

Examples

import ScreenReaderOnly from '@pluralsight/ps-design-system-screenreaderonly'
import React from 'react'
const Example: React.FC = props => {
return <ScreenReaderOnly>content only for screen readers</ScreenReaderOnly>
}
export default Example

Usage

  • Version
  • Install
    npm install @pluralsight/ps-design-system-screenreaderonly
  • Import
    import ScreenReaderOnly from '@pluralsight/ps-design-system-screenreaderonly'