Adding 'scope' to list of standard html attributes in react
scope is used for screen readers, so it would be nice to have. Documentation here: http://www.w3.org/TR/WCAG20-TECHS/H63
Alex Zelenskiy committed
Jan 15, 2014 at 16:28 UTC
b5f905523b861cd3d5a587bb83dae09c47077b04
1 file changed
+1
src/dom/DefaultDOMPropertyConfig.js
+1
@@ -96,6 +96,7 @@ var DefaultDOMPropertyConfig = {
96
role: MUST_USE_ATTRIBUTE,
97
rows: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,
98
rowSpan: null,
99
+ scope: null,
100
scrollLeft: MUST_USE_PROPERTY,
101
scrollTop: MUST_USE_PROPERTY,
102
selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,