buttonRole.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 buttonRole = {
  8. abstract: false,
  9. accessibleNameRequired: true,
  10. baseConcepts: [],
  11. childrenPresentational: true,
  12. nameFrom: ['author', 'contents'],
  13. prohibitedProps: [],
  14. props: {
  15. 'aria-disabled': null,
  16. 'aria-expanded': null,
  17. 'aria-haspopup': null,
  18. 'aria-pressed': null
  19. },
  20. relatedConcepts: [{
  21. concept: {
  22. attributes: [{
  23. constraints: ['set'],
  24. name: 'aria-pressed'
  25. }, {
  26. name: 'type',
  27. value: 'checkbox'
  28. }],
  29. name: 'input'
  30. },
  31. module: 'HTML'
  32. }, {
  33. concept: {
  34. attributes: [{
  35. name: 'aria-expanded',
  36. value: 'false'
  37. }],
  38. name: 'summary'
  39. },
  40. module: 'HTML'
  41. }, {
  42. concept: {
  43. attributes: [{
  44. name: 'aria-expanded',
  45. value: 'true'
  46. }],
  47. constraints: ['direct descendant of details element with the open attribute defined'],
  48. name: 'summary'
  49. },
  50. module: 'HTML'
  51. }, {
  52. concept: {
  53. attributes: [{
  54. name: 'type',
  55. value: 'button'
  56. }],
  57. name: 'input'
  58. },
  59. module: 'HTML'
  60. }, {
  61. concept: {
  62. attributes: [{
  63. name: 'type',
  64. value: 'image'
  65. }],
  66. name: 'input'
  67. },
  68. module: 'HTML'
  69. }, {
  70. concept: {
  71. attributes: [{
  72. name: 'type',
  73. value: 'reset'
  74. }],
  75. name: 'input'
  76. },
  77. module: 'HTML'
  78. }, {
  79. concept: {
  80. attributes: [{
  81. name: 'type',
  82. value: 'submit'
  83. }],
  84. name: 'input'
  85. },
  86. module: 'HTML'
  87. }, {
  88. concept: {
  89. name: 'button'
  90. },
  91. module: 'HTML'
  92. }, {
  93. concept: {
  94. name: 'trigger'
  95. },
  96. module: 'XForms'
  97. }],
  98. requireContextRole: [],
  99. requiredContextRole: [],
  100. requiredOwnedElements: [],
  101. requiredProps: {},
  102. superClass: [['roletype', 'widget', 'command']]
  103. };
  104. var _default = buttonRole;
  105. exports.default = _default;