Dementia affects vision, so if they are refusing to use the toilet, it may be simply that they cannot locate it as they can’t differentiate between the white toilet seat and the white floor. Try changing the toilet seat to another colour and always enter the bathroom first, as this will encourage loved ones to follow.