If you are anything like me, you probably attended less than a handful of funerals until your fourties, and then, as part of growing "really" up, making sure the dark respectful clothes are always ready became a thing.
The problem is we built the internet before we turned 40, so we never thought about how deaths figured into it.
I still think the two most important aspects are A) Ensure access. (ie: write down crucial passwords) and B) Making sure the news gets round.
Failing A) may leave practical and economical heart-burn.
Failing B) will make the people you leave behind much more uncomfortable and sad than you would want.
And, of course: Make sure to tell people how much you appreciate them, while both you and they still are.