This fixes the a11y/tree-relationships testcase. The emission was lost in refactoring in commit 76670734