|
@@ -34,6 +34,10 @@ module.exports = {
|
|
|
attr === 'class' ||
|
|
attr === 'class' ||
|
|
|
// data attributes are allowed globally
|
|
// data attributes are allowed globally
|
|
|
/^data-/.test(attr) ||
|
|
/^data-/.test(attr) ||
|
|
|
|
|
+ // aria attributes are allowed globally
|
|
|
|
|
+ /^aria-/.test(attr) ||
|
|
|
|
|
+ // role available
|
|
|
|
|
+ (attr === 'role') ||
|
|
|
// for available
|
|
// for available
|
|
|
(attr === 'for' && 'htmlFor' in this.el) ||
|
|
(attr === 'for' && 'htmlFor' in this.el) ||
|
|
|
// camelized prop available
|
|
// camelized prop available
|