The visibility property isn’t just about visibility
The main reason the
visibility: hiddenrule isn’t just about visual visibility is because it affects the elements visibility to assistive technology as well.
Love deep dives like this. Especially how it affects accessibility. Definitely something we front-end developers need to pay more attention to.