> If you don't mind my asking, where does that happen?
In countries where websites need an "imprint" (see the wikipedia article linked by someone else)
> Is it required for registering ccTLD
It's required for "publishing" something and websites are considered that. The idea was I think to be anti fake news, but I never understood why for websites you couldn't just go to the provider and have it turned off.
> would it be available by WHOIS?
Not completely sure how you mean. With whois there are many providers that allow for privacy options.
> Is it enforced
Not sure.
> and how, if you make make your site on another TLD but are clearly a resident of that country?
I think it's not hard to get around, but having to break the law to put a website on the internet without putting everything out there is just saddening. I don't want to break laws, just cause I'd get away with it.