@@ -0,0 +1,15 @@
+const tabbableElements = virtualNode.tabbableElements.map(
+	({ actualNode }) => actualNode
+);
+
+if (!tabbableElements || !tabbableElements.length) {
+	return true;
+}
+
+this.relatedNodes(tabbableElements);
+
+if (axe.commons.dom.isModalOpen()) {
+	return undefined;
+}
+
+return true;
I don't think we need to set this when returning true.