Ignoring User Interactions with inert

The inert attribute in HTML5 makes an element and its children non-interactive, preventing any user interactions.

<section inert>
  <!-- ignores focus -->
  <!-- ignores clicks -->
  <!-- excluded from a11y tree -->
</section>  

More info on MDN.