aria-hidden-body-evaluate.js 347 B

1234567891011
  1. /**
  2. * Check that the element does not have the `aria-hidden` attribute.
  3. *
  4. * @memberof checks
  5. * @return {Boolean} True if the `aria-hidden` attribute is not present. False otherwise.
  6. */
  7. function ariaHiddenBodyEvaluate(node, options, virtualNode) {
  8. return virtualNode.attr('aria-hidden') !== 'true';
  9. }
  10. export default ariaHiddenBodyEvaluate;