Hidden is a lie
hidden.is.a.lie.fyi
hidden.is.a.lie.fyi
-- HTML 5.1 - W3C Recommendation, 1 November 2016
So, as you can see, this is by design.
If this attribute behaved only in the manner the author assumes it would be essentially useless.
Instead, we have an option to have it act as "display:none", "visibility:hidden", etc.
Also, it has accessibility benefits beyond "aria-hidden":
https://www.paciellogroup.com/blog/2012/05/html5-accessibili...