From the course: React: Components, Context, and Accessibility

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Viewing React accessibility warnings

Viewing React accessibility warnings - React.js Tutorial

From the course: React: Components, Context, and Accessibility

Viewing React accessibility warnings

- [Narrator] Create React App is an amazing tool for building React applications. With a simple command, you can generate an entire React project. Built into that project, you'll also find a linking tool that will help us check our code for accessibility violations. To get started with this, let's make sure that we're in Chapter Five, 05_02, start, and we're going to install Create React App. So, I'm going to run sudo npm install -g create-react-app. I'll enter my password. And if you're on a PC, you can just run your command prompt as an administrator to the same thing. Now the next step, now that this is installed globally, is that I can run create-react-app, and then give my name a project. So, I'll call it a11y. So, a11y is just a shorthand for accessibility there are 11 letters between the a and y in accessibility, so therefore we get a11y. So, at this point, we can move into that folder, so I can say cd a11y, and…

Contents