Skip to content

Commit 6b10843

Browse files
authored
Merge pull request ubilabs#247 from HugoGiraudel/patch-1
Added ARIA attributes to whitelist
2 parents d5560eb + 5cb3f9a commit 6b10843

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

src/filter-input-attributes.js

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,34 @@ const allowedAttributes = [
3434
'required',
3535
'size',
3636
'spellCheck',
37-
'tabIndex'
37+
'tabIndex',
38+
'aria-atomic',
39+
'aria-busy',
40+
'aria-controls',
41+
'aria-current',
42+
'aria-describedby',
43+
'aria-details',
44+
'aria-disabled',
45+
'aria-dropeffect',
46+
'aria-errormessage',
47+
'aria-flowto',
48+
'aria-grabbed',
49+
'aria-haspopup',
50+
'aria-hidden',
51+
'aria-invalid',
52+
'aria-keyshortcuts',
53+
'aria-label',
54+
'aria-labelledby',
55+
'aria-live',
56+
'aria-owns',
57+
'aria-relevant',
58+
'aria-roledescription',
59+
'aria-activedescendant',
60+
'aria-autocomplete',
61+
'aria-multiline',
62+
'aria-placeholder',
63+
'aria-readonly',
64+
'aria-required'
3865
];
3966

4067
/**

0 commit comments

Comments
 (0)