react-a11y
Version:
Warns about potential accessibility issues with your React elements.
118 lines (117 loc) • 2.37 kB
JavaScript
export default {
'aria-activedescendant': {
type: 'string'
},
'aria-atomic': {
type: 'boolean'
},
'aria-autocomplete': {
type: 'token',
values: ['inline', 'list', 'both', 'none']
},
'aria-busy': {
type: 'boolean'
},
'aria-checked': {
type: 'tristate'
},
'aria-controls': {
type: 'string'
},
'aria-describedby': {
type: 'string'
},
'aria-disabled': {
type: 'boolean'
},
'aria-dropeffect': {
type: 'tokenlist',
values: ['copy', 'move', 'link', 'execute', 'popup', 'none']
},
'aria-expanded': {
type: 'boolean',
allowundefined: true
},
'aria-flowto': {
type: 'string'
},
'aria-grabbed': {
type: 'boolean',
allowundefined: true
},
'aria-haspopup': {
type: 'boolean'
},
'aria-hidden': {
type: 'boolean'
},
'aria-invalid': {
type: 'token',
values: ['grammar', 'false', 'spelling', 'true']
},
'aria-label': {
type: 'string'
},
'aria-labelledby': {
type: 'string'
},
'aria-level': {
type: 'integer'
},
'aria-live': {
type: 'token',
values: ['off', 'polite', 'assertive']
},
'aria-multiline': {
type: 'boolean'
},
'aria-multiselectable': {
type: 'boolean'
},
'aria-orientation': {
type: 'token',
values: ['vertical', 'horizontal']
},
'aria-owns': {
type: 'string'
},
'aria-posinset': {
type: 'integer'
},
'aria-pressed': {
type: 'tristate'
},
'aria-readonly': {
type: 'boolean'
},
'aria-relevant': {
type: 'tokenlist',
values: ['additions', 'removals', 'text', 'all']
},
'aria-required': {
type: 'boolean'
},
'aria-selected': {
type: 'boolean',
allowundefined: true
},
'aria-setsize': {
type: 'integer'
},
'aria-sort': {
type: 'token',
values: ['ascending', 'descending', 'none', 'other']
},
'aria-valuemax': {
type: 'number'
},
'aria-valuemin': {
type: 'number'
},
'aria-valuenow': {
type: 'number'
},
'aria-valuetext': {
type: 'string'
}
};