printer-notifications/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js
2023-11-13 16:10:04 -05:00

44 lines
936 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var menuitemRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [],
childrenPresentational: false,
nameFrom: ['author', 'contents'],
prohibitedProps: [],
props: {
'aria-disabled': null,
'aria-expanded': null,
'aria-haspopup': null,
'aria-posinset': null,
'aria-setsize': null
},
relatedConcepts: [{
concept: {
name: 'MENU_ITEM'
},
module: 'JAPI'
}, {
concept: {
name: 'listitem'
},
module: 'ARIA'
}, {
concept: {
name: 'option'
},
module: 'ARIA'
}],
requireContextRole: ['group', 'menu', 'menubar'],
requiredContextRole: ['group', 'menu', 'menubar'],
requiredOwnedElements: [],
requiredProps: {},
superClass: [['roletype', 'widget', 'command']]
};
var _default = menuitemRole;
exports.default = _default;