securityos/node_modules/eslint-plugin-jsx-a11y/lib/util/implicitRoles/h2.js

13 lines
264 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = getImplicitRoleForH2;
/**
* Returns the implicit role for an h2 tag.
*/
function getImplicitRoleForH2() {
return 'heading';
}
module.exports = exports.default;