headingRole.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 headingRole = {
  8. abstract: false,
  9. accessibleNameRequired: true,
  10. baseConcepts: [],
  11. childrenPresentational: false,
  12. nameFrom: ['author', 'contents'],
  13. prohibitedProps: [],
  14. props: {
  15. 'aria-level': null
  16. },
  17. relatedConcepts: [{
  18. concept: {
  19. name: 'h1'
  20. },
  21. module: 'HTML'
  22. }, {
  23. concept: {
  24. name: 'h2'
  25. },
  26. module: 'HTML'
  27. }, {
  28. concept: {
  29. name: 'h3'
  30. },
  31. module: 'HTML'
  32. }, {
  33. concept: {
  34. name: 'h4'
  35. },
  36. module: 'HTML'
  37. }, {
  38. concept: {
  39. name: 'h5'
  40. },
  41. module: 'HTML'
  42. }, {
  43. concept: {
  44. name: 'h6'
  45. },
  46. module: 'HTML'
  47. }],
  48. requireContextRole: [],
  49. requiredContextRole: [],
  50. requiredOwnedElements: [],
  51. requiredProps: {
  52. 'aria-level': 2
  53. },
  54. superClass: [['roletype', 'structure', 'sectionhead']]
  55. };
  56. var _default = headingRole;
  57. exports.default = _default;