Re: [webcomponents] [Shadow] Need Document.deepActiveElement (bugzilla:28652) (#104)

Yeah, for screen readers and the like to be able to look into contents in closed shadow, probably some privileged APIs must be provided for them.  So accessibility feature isn't very compelling reason to want this.

`deepActiveElement` can be just a sugar for *O(depth)* loop of `activeElement`, but platform may provide this in *O(1)*, so if this is proven to be a performance bottleneck for some use case, this is worth considering.


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/104#issuecomment-194679420

Received on Thursday, 10 March 2016 05:30:16 UTC