The hosted feature layer view created by the Join Features analysis tool in ArcGIS Online does not inherit the attachments added to the original hosted feature service.
Attachments on the target layer are preserved in a 1:1 join if the target layer has attachments enabled and a GlobalID field. This is currently not supported for 1:M joins.