[Soft Reject] Escape function

Hi.
Which is the best escaping function for get_bloginfo() function ?

  1. There may still be unescaped strings. It’s best to do the output escaping as late as possible, ideally as data is being outputted. Example(s): https://envato.d.pr/NWVkvQ and more.

Thanks.

for attribute as like alt:

esc_attr( string $text )