ally.maintain.hidden Example
Use the toggle hidden button to hide all elements (except the buttons and what's within the blue border).
Use the add elements button to see that the aria-hidden attribute is applied to dynamically added content as well.
Note that the hidden elements are visualized with red border and background only for this demo.