You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
2.7 KiB
116 lines
2.7 KiB
'use strict'; |
|
|
|
Object.defineProperty(exports, "__esModule", { |
|
value: true |
|
}); |
|
|
|
|
|
var ariaPropsMap = new Map([['aria-activedescendant', { |
|
'type': 'id' |
|
}], ['aria-atomic', { |
|
'type': 'boolean' |
|
}], ['aria-autocomplete', { |
|
'type': 'token', |
|
'values': ['inline', 'list', 'both', 'none'] |
|
}], ['aria-busy', { |
|
'type': 'boolean' |
|
}], ['aria-checked', { |
|
'type': 'tristate' |
|
}], ['aria-colcount', { |
|
type: 'integer' |
|
}], ['aria-colindex', { |
|
type: 'integer' |
|
}], ['aria-colspan', { |
|
type: 'integer' |
|
}], ['aria-controls', { |
|
'type': 'idlist' |
|
}], ['aria-current', { |
|
type: 'token', |
|
values: ['page', 'step', 'location', 'date', 'time', true, false] |
|
}], ['aria-describedby', { |
|
'type': 'idlist' |
|
}], ['aria-disabled', { |
|
'type': 'boolean' |
|
}], ['aria-dropeffect', { |
|
'type': 'tokenlist', |
|
'values': ['copy', 'move', 'link', 'execute', 'popup', 'none'] |
|
}], ['aria-errormessage', { |
|
'type': 'string' |
|
}], ['aria-expanded', { |
|
'type': 'boolean', |
|
'allowundefined': true |
|
}], ['aria-flowto', { |
|
'type': 'idlist' |
|
}], ['aria-grabbed', { |
|
'type': 'boolean', |
|
'allowundefined': true |
|
}], ['aria-haspopup', { |
|
'type': 'token', |
|
'values': [false, true, 'menu', 'listbox', 'tree', 'grid', 'dialog'] |
|
}], ['aria-hidden', { |
|
'type': 'boolean' |
|
}], ['aria-invalid', { |
|
'type': 'token', |
|
'values': ['grammar', false, 'spelling', true] |
|
}], ['aria-keyshortcuts', { |
|
type: 'string' |
|
}], ['aria-label', { |
|
'type': 'string' |
|
}], ['aria-labelledby', { |
|
'type': 'idlist' |
|
}], ['aria-level', { |
|
'type': 'integer' |
|
}], ['aria-live', { |
|
'type': 'token', |
|
'values': ['off', 'polite', 'assertive'] |
|
}], ['aria-modal', { |
|
type: 'boolean' |
|
}], ['aria-multiline', { |
|
'type': 'boolean' |
|
}], ['aria-multiselectable', { |
|
'type': 'boolean' |
|
}], ['aria-orientation', { |
|
'type': 'token', |
|
'values': ['vertical', 'horizontal'] |
|
}], ['aria-owns', { |
|
'type': 'idlist' |
|
}], ['aria-placeholder', { |
|
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-roledescription', { |
|
type: 'string' |
|
}], ['aria-rowcount', { |
|
type: 'integer' |
|
}], ['aria-rowindex', { |
|
type: 'integer' |
|
}], ['aria-rowspan', { |
|
type: 'integer' |
|
}], ['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' |
|
}]]); |
|
|
|
exports.default = ariaPropsMap; |