github-pages-deploy-action/node_modules/aria-query/lib/etc/roles/literal/optionRole.js

42 lines
788 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var optionRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [{
module: 'HTML',
concept: {
name: 'option'
}
}],
childrenPresentational: true,
nameFrom: ['author', 'contents'],
props: {
'aria-checked': null,
'aria-posinset': null,
'aria-selected': 'false',
'aria-setsize': null
},
relatedConcepts: [{
module: 'ARIA',
concept: {
name: 'listitem'
}
}, {
module: 'XForms',
concept: {
name: 'item'
}
}],
requireContextRole: ['listbox'],
requiredOwnedElements: [],
requiredProps: {
'aria-selected': 'false'
},
superClass: [['roletype', 'widget', 'input']]
};
exports.default = optionRole;