Enforcing Accessibility with Component PropTypes

Brad Frost on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateDesign SystemsAccessibility11 min

About this video

Shows how to use PropTypes in React components to enforce accessibility practices, so that component APIs guide developers toward accessible output. Aimed at developers and designers who build shared component libraries.

What you’ll learn

  • Define PropTypes that require accessible labels on component props
  • Catch missing accessibility attributes during component development
  • Apply accessibility constraints to shared React components