In this video, we'll look at how to use eslint-plugin-jsx-a11y to check for accessibility issues in your React code. The tool will raise warnings for a range of accessibility violations.
- [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 then run npm start.…And this should open up my project in a new browser.…So there we go, we have our app running on local host 3000.…
- What's new in React 16
- Rendering arrays
- Controlled, uncontrolled, and compound components
- Using keyed fragments
- Working with new lifecycle methods
- React patterns
- Using the context API
- Checking for accessibility issues in your React code
Skill Level Advanced
1. What’s New in React
2. Advanced Components
3. Enhanced Components
4. React Patterns
5. React Accessibility
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.