The characters literally combine to mean “to think [it] is as [it should be]” or “to suppose it is so.” This construction perfectly captures the essence of the idiom: accepting a personal thought as a natural, correct reality without verification.
“想当然” is a very common term used in a variety of contexts, almost always with a critical or cautionary tone.