UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

16 lines (13 loc) 398 B
import getExplicitRole from '../aria/get-explicit-role'; /** * Determines if an element is an aria textbox element * @method isAriaTextbox * @memberof axe.commons.forms * @param {VirtualNode|Element} node Node to determine if aria textbox * @returns {Bool} */ function isAriaTextbox(node) { const role = getExplicitRole(node); return role === 'textbox'; } export default isAriaTextbox;