You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ The documentation is divided into several sections with a different tone and pur
57
57
58
58
## Translation
59
59
60
-
If you are interesting in translating `reactjs.org`, please see the current translation efforts at [isreactreadyyet.com](https://www.isreactreadyyet.com).
60
+
If you are interested in translating `reactjs.org`, please see the current translation efforts at [isreacttranslatedyet.com](https://www.isreacttranslatedyet.com/).
61
61
62
62
63
63
If your language does not have a translation and you would like to create one, please follow the instructions at [reactjs.org Translations](https://github.com/reactjs/reactjs.org-translation#translating-reactjsorg).
Copy file name to clipboardExpand all lines: content/blog/2015-03-30-community-roundup-26.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Colin also [blogged about his experience using React Native](http://blog.scottlo
29
29
30
30
Spencer Ahrens and I had the great pleasure to talk about React Native on [The Changelog](https://thechangelog.com/149/) podcast. It was really fun to chat for an hour, I hope that you'll enjoy listening to it. :)
Copy file name to clipboardExpand all lines: content/blog/2015-08-11-relay-technical-preview.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ While React simplified the process of developing complex user-interfaces, it lef
13
13
14
14
Declarative data-fetching means that Relay applications specify *what* data they need, not *how* to fetch that data. Just as React uses a description of the desired UI to manage view updates, Relay uses a data description in the form of GraphQL queries. Given these descriptions, Relay coalesces queries into batches for efficiency, manages error-prone asynchronous logic, caches data for performance, and automatically updates views as data changes.
15
15
16
-
Relay is also component-oriented, extending the notion of a React component to include a description of what data is necessary to render it. This colocation allows developers to reason locally about their application and eliminates bugs such as under- or over-fetching data.
16
+
Relay is also component-oriented, extending the notion of a React component to include a description of what data is necessary to render it. This collocation allows developers to reason locally about their application and eliminates bugs such as under- or over-fetching data.
17
17
18
18
Relay is in use at Facebook in production apps, and we're using it more and more because *Relay lets developers focus on their products and move fast*. It's working for us and we'd like to share it with the community.
Copy file name to clipboardExpand all lines: content/docs/accessibility.md
+19-19
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@ The [Web Content Accessibility Guidelines](https://www.w3.org/WAI/intro/wcag) pr
19
19
The following WCAG checklists provide an overview:
20
20
21
21
-[WCAG checklist from Wuhcag](https://www.wuhcag.com/wcag-checklist/)
22
-
-[WCAG checklist from WebAIM](http://webaim.org/standards/wcag/checklist)
23
-
-[Checklist from The A11Y Project](http://a11yproject.com/checklist.html)
22
+
-[WCAG checklist from WebAIM](https://webaim.org/standards/wcag/checklist)
23
+
-[Checklist from The A11Y Project](https://a11yproject.com/checklist.html)
24
24
25
25
### WAI-ARIA {#wai-aria}
26
26
@@ -114,7 +114,7 @@ Every HTML form control, such as `<input>` and `<textarea>`, needs to be labeled
114
114
The following resources show us how to do this:
115
115
116
116
-[The W3C shows us how to label elements](https://www.w3.org/WAI/tutorials/forms/labels/)
117
-
-[WebAIM shows us how to label elements](http://webaim.org/techniques/forms/controls)
117
+
-[WebAIM shows us how to label elements](https://webaim.org/techniques/forms/controls)
118
118
-[The Paciello Group explains accessible names](https://www.paciellogroup.com/blog/2017/04/what-is-an-accessible-name/)
119
119
120
120
Although these standard HTML practices can be directly used in React, note that the `for` attribute is written as `htmlFor` in JSX:
@@ -129,13 +129,13 @@ Although these standard HTML practices can be directly used in React, note that
129
129
Error situations need to be understood by all users. The following link shows us how to expose error texts to screen readers as well:
130
130
131
131
-[The W3C demonstrates user notifications](https://www.w3.org/WAI/tutorials/forms/notifications/)
132
-
-[WebAIM looks at form validation](http://webaim.org/techniques/formvalidation/)
132
+
-[WebAIM looks at form validation](https://webaim.org/techniques/formvalidation/)
133
133
134
134
## Focus Control {#focus-control}
135
135
136
136
Ensure that your web application can be fully operated with the keyboard only:
137
137
138
-
-[WebAIM talks about keyboard accessibility](http://webaim.org/techniques/keyboard/)
138
+
-[WebAIM talks about keyboard accessibility](https://webaim.org/techniques/keyboard/)
139
139
140
140
### Keyboard focus and focus outline {#keyboard-focus-and-focus-outline}
141
141
@@ -152,13 +152,13 @@ Provide a mechanism to allow users to skip past navigation sections in your appl
152
152
Skiplinks or Skip Navigation Links are hidden navigation links that only become visible when keyboard users interact with the page. They are very easy to implement with
Also use landmark elements and roles, such as `<main>` and `<aside>`, to demarcate page regions as assistive technology allow the user to quickly navigate to these sections.
158
158
159
159
Read more about the use of these elements to enhance accessibility here:
### Setting the document title {#setting-the-document-title}
402
402
@@ -412,15 +412,15 @@ Ensure that all readable text on your website has sufficient color contrast to r
412
412
413
413
-[WCAG - Understanding the Color Contrast Requirement](https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html)
414
414
-[Everything About Color Contrast And Why You Should Rethink It](https://www.smashingmagazine.com/2014/10/color-contrast-tips-and-tools-for-accessibility/)
415
-
-[A11yProject - What is Color Contrast](http://a11yproject.com/posts/what-is-color-contrast/)
415
+
-[A11yProject - What is Color Contrast](https://a11yproject.com/posts/what-is-color-contrast/)
416
416
417
-
It can be tedious to manually calculate the proper color combinations for all cases in your website so instead, you can [calculate an entire accessible color palette with Colorable](http://jxnblk.com/colorable/).
417
+
It can be tedious to manually calculate the proper color combinations for all cases in your website so instead, you can [calculate an entire accessible color palette with Colorable](https://jxnblk.com/colorable/).
418
418
419
419
Both the aXe and WAVE tools mentioned below also include color contrast tests and will report on contrast errors.
420
420
421
421
If you want to extend your contrast testing abilities you can use these tools:
422
422
423
-
-[WebAIM - Color Contrast Checker](http://webaim.org/resources/contrastchecker/)
423
+
-[WebAIM - Color Contrast Checker](https://webaim.org/resources/contrastchecker/)
424
424
-[The Paciello Group - Color Contrast Analyzer](https://www.paciellogroup.com/resources/contrastanalyser/)
425
425
426
426
## Development and Testing Tools {#development-and-testing-tools}
@@ -471,7 +471,7 @@ You can also use the [react-axe](https://github.com/dylanb/react-axe) module to
471
471
472
472
#### WebAIM WAVE {#webaim-wave}
473
473
474
-
The [Web Accessibility Evaluation Tool](http://wave.webaim.org/extension/) is another accessibility browser extension.
474
+
The [Web Accessibility Evaluation Tool](https://wave.webaim.org/extension/) is another accessibility browser extension.
475
475
476
476
#### Accessibility inspectors and the Accessibility Tree {#accessibility-inspectors-and-the-accessibility-tree}
477
477
@@ -498,7 +498,7 @@ Please note that browser / screen reader combinations matter. It is recommended
498
498
499
499
Refer to the following guides on how to best use NVDA:
500
500
501
-
-[WebAIM - Using NVDA to Evaluate Web Accessibility](http://webaim.org/articles/nvda/)
501
+
-[WebAIM - Using NVDA to Evaluate Web Accessibility](https://webaim.org/articles/nvda/)
#### ChromeVox in Google Chrome {#chromevox-in-google-chrome}
526
526
527
-
[ChromeVox](http://www.chromevox.com/) is an integrated screen reader on Chromebooks and is available [as an extension](https://chrome.google.com/webstore/detail/chromevox/kgejglhpjiefppelpmljglcjbhoiplfn?hl=en) for Google Chrome.
527
+
[ChromeVox](https://www.chromevox.com/) is an integrated screen reader on Chromebooks and is available [as an extension](https://chrome.google.com/webstore/detail/chromevox/kgejglhpjiefppelpmljglcjbhoiplfn?hl=en) for Google Chrome.
528
528
529
529
Refer to the following guides on how best to use ChromeVox:
530
530
531
531
-[Google Chromebook Help - Use the Built-in Screen Reader](https://support.google.com/chromebook/answer/7031755?hl=en)
Copy file name to clipboardExpand all lines: content/docs/add-react-to-a-website.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -149,7 +149,7 @@ return (
149
149
150
150
These two code snippets are equivalent. While **JSX is [completely optional](/docs/react-without-jsx.html)**, many people find it helpful for writing UI code -- both with React and with other libraries.
151
151
152
-
You can play with JSX using [this online converter](http://babeljs.io/repl#?babili=false&browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=Q&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&sourceType=module&lineWrap=true&presets=es2015%2Creact%2Cstage-2%2Cstage-3&prettier=true&targets=Node-6.12&version=6.26.0&envVersion=).
152
+
You can play with JSX using [this online converter](https://babeljs.io/repl#?babili=false&browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=Q&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&sourceType=module&lineWrap=true&presets=es2015%2Creact%2Cstage-2%2Cstage-3&prettier=true&targets=Node-6.12&version=6.26.0&envVersion=).
153
153
154
154
### Quickly Try JSX {#quickly-try-jsx}
155
155
@@ -197,6 +197,6 @@ Don't wait for it to finish -- this command starts an automated watcher for JSX.
197
197
198
198
If you now create a file called `src/like_button.js` with this **[JSX starter code](https://cdn.rawgit.com/gaearon/c8e112dc74ac44aac4f673f2c39d19d1/raw/09b951c86c1bf1116af741fa4664511f2f179f0a/like_button.js)**, the watcher will create a preprocessed `like_button.js` with the plain JavaScript code suitable for the browser. When you edit the source file with JSX, the transform will re-run automatically.
199
199
200
-
As a bonus, this also lets you use modern JavaScript syntax features like classes without worrying about breaking older browsers. The tool we just used is called Babel, and you can learn more about it from [its documentation](http://babeljs.io/docs/en/babel-cli/).
200
+
As a bonus, this also lets you use modern JavaScript syntax features like classes without worrying about breaking older browsers. The tool we just used is called Babel, and you can learn more about it from [its documentation](https://babeljs.io/docs/en/babel-cli/).
201
201
202
202
If you notice that you're getting comfortable with build tools and want them to do more for you, [the next section](/docs/create-a-new-react-app.html) describes some of the most popular and approachable toolchains. If not -- those script tags will do just fine!
0 commit comments