GT2/Ejectable/node_modules/react-native-web/dist/cjs/modules/AccessibilityUtil/buttonLikeRoles.js

24 lines
627 B
JavaScript

"use strict";
exports.__esModule = true;
exports.default = void 0;
/**
* Copyright (c) Nicolas Gallagher.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
*/
var buttonLikeRoles = {
// ARIA button behaves like native 'button' element
button: true,
// ARIA menuitem responds to Enter/Space like a button. Spec requires AT to
// ignore ARIA roles of any children.
// https://www.w3.org/WAI/GL/wiki/Using_ARIA_menus
menuitem: true
};
var _default = buttonLikeRoles;
exports.default = _default;
module.exports = exports.default;