As a reply to NotMyFault, thank you for the advice.
I’m sorry, I am very new to Affinity photo. Please explain what UI means.
I did discover, I have a choice of masking brushes, which I was not aware of. I tried using a round solid brush on a different photo, just to see if this brush made any difference. The areas that I selected were much cleaner. Also, when I deleted the background, no “shadows” around the subject were left. Therefore no need to use the eraser tool to remove them. In addition, the subject was not translucent at all.
I did try the eraser tool on a separate pixel layer as suggested. The eraser tool worked fine on that. I found the info panel. Unfortunately, I do not understand the meaning of “alpha should go from 100% / 255 to 0.”