In my rental, I have it written in the contract that I pay the HOA fees. If it's in the agreement that the renter is to pay the fees, the HOA can place a lien on the property if dues are not paid on time. Rather than chance that, I prefer to pay the HOA myself and keep the tenants out of that equation.
It will depend on the landlord and the lease you sign. The tenant will pay for it one way or another; whether the fee is bundled into the rent payment or is left up to the tenant to pay separately is really just a matter of packaging.