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

13 lines
264 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
"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;