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: packages/dev/docs/pages/react-aria/accessibility.mdx
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -46,15 +46,15 @@ with built-in semantics (e.g. `<button>` or `<select>`) for styling reasons, or
46
46
ARIA is required to make presentational elements (e.g. `<div>`) have semantic meaning. This allows screen readers and
47
47
other assistive technology to understand these elements and announce them properly to the user.
48
48
49
-
However, ARIA is a contract: it only specifies semantics, and it's up to the developer to implement the
50
-
**behavior** and interactions for each control with JavaScript. There is an additional document published by the W3C
51
-
called the [WAI-ARIA Authoring Practices](https://www.w3.org/TR/wai-aria-practices-1.2/), which provides patterns
49
+
However, ARIA only specifies semantics, and it's up to the developer to implement the
50
+
**behavior** and interactions for each control with JavaScript. The W3C also publishes
51
+
the [ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/), which provides patterns
52
52
and examples of implementing this behavior on top of ARIA. It specifies keyboard interactions that are expected
53
53
by users of these controls, along with the required roles and states to make them accessible to assistive technology.
54
54
55
-
React Aria provides hooks for many ARIA patterns, which provide the semantics and behavior together. This makes building
56
-
accessible components with custom styling much easier: just spread the props returned by the hooks onto the appropriate
57
-
elements and you get accessibility and behavior pretty much for free. All you need to do is provide the styling.
55
+
React Aria provides implementations of ARIA patterns as unstyled React components and hooks, which include both the
56
+
semantics and behavior out of the box. This makes building accessible components with custom styling much easier, because
57
+
you only need to implement your custom styles and get the accessibility and behavior for free.
58
58
59
59
## Labeling
60
60
@@ -66,13 +66,13 @@ will automatically associate the visible label with the control so that assistiv
66
66
67
67
In case a visible label is not desired for some reason, or you're using a control that doesn't have a built-in label,
68
68
you must use the `aria-label` or `aria-labelledby` props to identify it to assistive technology. Most React Aria
69
-
hooks will display a console warning if you are missing both a visible label and an ARIA label.
69
+
components will display a console warning if you are missing both a visible label and an ARIA label.
70
70
71
71
## Keyboard navigation
72
72
73
73
React Aria implements keyboard support for all components, which allows users who cannot use a mouse or touch screen
74
74
to navigate your app. It also allows power users to navigate your application more quickly, without lifting their hands
75
-
from the keyboard. All keyboard behavior is implemented according to the [WAI-ARIA Authoring Practices](https://www.w3.org/TR/wai-aria-practices-1.2/) guidelines,
75
+
from the keyboard. All keyboard behavior is implemented according to the W3C's [ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/),
76
76
and is designed to feel familiar to users of most commonly used desktop operating systems.
77
77
78
78
For more information about keyboard navigation and focus interactions, see the [interactions](interactions.html) overview.
0 commit comments