Check out example codes for "aria-hidden in html". It will help you in understanding the concepts better.

Code Example 1

When a user views the html page, elements with the hidden attribute should not be visible. 
Aria-hidden attributes indicate that the element and 
ALL of its descendants are still visible in the browser
, but will be invisible to accessibility tools, such as
screen readers.

Learn ReactJs, React Native from