From 550b0220ca146fbe6fa0695c2fb9d97944d6abfe Mon Sep 17 00:00:00 2001 From: cjshawMIT Date: Mon, 5 Jun 2017 10:48:21 -0400 Subject: [PATCH] Clarifying how to apply aria-* attributes (#9843) Provide explicit example of what "keep lowercase" means for `aria-*` attributes. --- docs/docs/reference-dom-elements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/reference-dom-elements.md b/docs/docs/reference-dom-elements.md index 660e04a52f..1f32eb22bb 100644 --- a/docs/docs/reference-dom-elements.md +++ b/docs/docs/reference-dom-elements.md @@ -16,7 +16,7 @@ redirect_from: React implements a browser-independent DOM system for performance and cross-browser compatibility. We took the opportunity to clean up a few rough edges in browser DOM implementations. -In React, all DOM properties and attributes (including event handlers) should be camelCased. For example, the HTML attribute `tabindex` corresponds to the attribute `tabIndex` in React. The exception is `aria-*` and `data-*` attributes, which should be lowercased. +In React, all DOM properties and attributes (including event handlers) should be camelCased. For example, the HTML attribute `tabindex` corresponds to the attribute `tabIndex` in React. The exception is `aria-*` and `data-*` attributes, which should be lowercased. For example, you can keep `aria-label` as `aria-label`. ## Differences In Attributes