What people mean by a digital will
A digital will is not a fixed legal term. Most people use it for a document that says what should happen to their online accounts, photos and digital possessions. Sometimes that is a separate overview, sometimes part of the will itself.
If you want your wishes to carry legal weight, they belong in a will. How to make a will legally valid differs from country to country. A notary or lawyer can tell you what applies to you.