Use the inert attribute to prevent unintended user interaction https://www.oidaisdes.org/inert-attribute-prevents-interaction.en/