GoScrobble/web/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js

52 lines
1.1 KiB
JavaScript

"use strict";
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
_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: 'menuitem'
},
module: 'HTML'
}, {
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;