lib/commons/text/accessible-text-virtual.js
function shouldIgnoreHidden({ actualNode }, context) {
	if (
		// If the parent isn't ignored, the text node should not be either
		actualNode.nodeType !== 1 ||
		// If the target of aria-labelledby is hidden, ignore all descendents
		context.includeHidden
	) {
		return false;
	}

	return !dom.isVisible(actualNode, true);
}
function shouldIgnoreHidden({ actualNode }, context) {
	if (
		// If the parent isn't ignored, the text node should not be either
		actualNode.nodeType !== 1 ||
		// If the target of aria-labelledby is hidden, ignore all descendents
		context.includeHidden
	) {
		return false;
	}

	return !dom.isVisible(actualNode, true);
}
function shouldIgnoreHidden ( { actualNode } , context ) { if ( // If the parent isn't ignored, the text node should not be either actualNode . nodeType !== 1 || // If the target of aria-labelledby is hidden, ignore all descendents context . includeHidden ) { return false ; } return ! dom . isVisible ( actualNode , true ) ; }
Check if the
@param {VirtualNode} element
@param {Object} context
@property {VirtualNode[]} processed
@return {Boolean}
Check if the