From w3c/aria#2577 (review):
[The polyfill] doesn’t check whether the node is in the accessibility tree.
The polyfill should conform to this, from w3c/aria#2577’s ARIA spec draft:
If node is excluded from the accessibility tree, then abort these steps [i.e. don’t notify].