menuitemRole.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. "use strict";
  2. var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
  3. _Object$defineProperty(exports, "__esModule", {
  4. value: true
  5. });
  6. exports.default = void 0;
  7. var menuitemRole = {
  8. abstract: false,
  9. accessibleNameRequired: true,
  10. baseConcepts: [],
  11. childrenPresentational: false,
  12. nameFrom: ['author', 'contents'],
  13. prohibitedProps: [],
  14. props: {
  15. 'aria-disabled': null,
  16. 'aria-expanded': null,
  17. 'aria-haspopup': null,
  18. 'aria-posinset': null,
  19. 'aria-setsize': null
  20. },
  21. relatedConcepts: [{
  22. concept: {
  23. name: 'MENU_ITEM'
  24. },
  25. module: 'JAPI'
  26. }, {
  27. concept: {
  28. name: 'listitem'
  29. },
  30. module: 'ARIA'
  31. }, {
  32. concept: {
  33. name: 'menuitem'
  34. },
  35. module: 'HTML'
  36. }, {
  37. concept: {
  38. name: 'option'
  39. },
  40. module: 'ARIA'
  41. }],
  42. requireContextRole: ['group', 'menu', 'menubar'],
  43. requiredContextRole: ['group', 'menu', 'menubar'],
  44. requiredOwnedElements: [],
  45. requiredProps: {},
  46. superClass: [['roletype', 'widget', 'command']]
  47. };
  48. var _default = menuitemRole;
  49. exports.default = _default;