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

60 lines
1.1 KiB
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
"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 headingRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [],
childrenPresentational: false,
nameFrom: ['author', 'contents'],
prohibitedProps: [],
props: {
'aria-level': null
},
relatedConcepts: [{
concept: {
name: 'h1'
},
module: 'HTML'
}, {
concept: {
name: 'h2'
},
module: 'HTML'
}, {
concept: {
name: 'h3'
},
module: 'HTML'
}, {
concept: {
name: 'h4'
},
module: 'HTML'
}, {
concept: {
name: 'h5'
},
module: 'HTML'
}, {
concept: {
name: 'h6'
},
module: 'HTML'
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
'aria-level': 2
},
superClass: [['roletype', 'structure', 'sectionhead']]
};
var _default = headingRole;
exports.default = _default;