Block label when no text field is present

When block does not have any text field present, for example, it only has an Asset field, then it would be good to show the Asset’s alt or caption title as block label. Currently it is empty: