The minions which have “cannot be targeted by spells or hero power” do not prevent the minion from being attacked. The Demon Hunter hero power does only one thing: give the hero +1 attack. The hero power does not target anything, it does not target the minion at all. Once the hero has an attack value, it can attack, and being attacked is not prevented by that minion.
For future reference, to share screenshots:
sharing screenshots