We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200971a commit 6d7c8a1Copy full SHA for 6d7c8a1
content/warnings/invalid-aria-prop.md
@@ -4,11 +4,11 @@ layout: single
4
permalink: warnings/invalid-aria-prop.html
5
---
6
7
-invalid-aria-prop 警告出现在:当你试图渲染一个 DOM 元素,并且它的 aria-* 属性不存在于 WAI-ARIA [规范](https://www.w3.org/TR/wai-aria-1.1/#states_and_properties) 中时。
+当你试图渲染一个 DOM 元素,并且它的 aria-* 属性不存在于 WAI-ARIA [规范](https://www.w3.org/TR/wai-aria-1.1/#states_and_properties) 中时,会出现 invalid-aria-prop 警告。
8
9
(WAI:Web Accessibility Initiative,Web 无障碍计划)
10
(ARIA:Accessible Rich Internet Application,无障碍丰富互联网应用程序)
11
12
1. 如果你认为你使用的是合法的属性,仔细检查拼写。`aria-labelledby` 和 `aria-activedescendant` 常常会被拼错。
13
14
-2. React 还无法识别你指定的属性。这可能会在 React 的未来版本中被修复。但是,当前的 React 会去除所有未知属性,因此在 React 应用中指定它们不会使得它们被渲染。
+2. React 还无法识别你指定的属性。这可能会在 React 的未来版本中被修复。但是,React 目前会去除所有未知属性,因此即使在 React 应用中指定这些属性也无法使它们渲染。
0 commit comments