securityos/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js

103 lines
1.9 KiB
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var textboxRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [],
childrenPresentational: false,
nameFrom: ['author'],
prohibitedProps: [],
props: {
'aria-activedescendant': null,
'aria-autocomplete': null,
'aria-errormessage': null,
'aria-haspopup': null,
'aria-invalid': null,
'aria-multiline': null,
'aria-placeholder': null,
'aria-readonly': null,
'aria-required': null
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ['undefined'],
name: 'type'
}, {
constraints: ['undefined'],
name: 'list'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
attributes: [{
constraints: ['undefined'],
name: 'list'
}, {
name: 'type',
value: 'email'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
attributes: [{
constraints: ['undefined'],
name: 'list'
}, {
name: 'type',
value: 'tel'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
attributes: [{
constraints: ['undefined'],
name: 'list'
}, {
name: 'type',
value: 'text'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
attributes: [{
constraints: ['undefined'],
name: 'list'
}, {
name: 'type',
value: 'url'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
name: 'input'
},
module: 'XForms'
}, {
concept: {
name: 'textarea'
},
module: 'HTML'
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [['roletype', 'widget', 'input']]
};
var _default = textboxRole;
exports.default = _default;