Home-sharing website Airbnb and online travel agency eDreams have pledged to disclose unavoidable fees upfront after the consumer watchdog found their drip-pricing tactics were in breach of the law.

The Australian Competition and Consumer Commission said Airbnb and eDreams had both failed to "adequately disclose" mandatory fees and had therefore engaged in "misleading and deceptive conduct and made misleading representations".

Airbnb lured customers with prices that did not include mandatory fees. Credit:Iain Masterton

It said on Tuesday it had accepted court enforceable undertakings from both web giants.

It said Airbnb, since November 2012, had failed to adequately disclose the mandatory service fee and the cleaning fee on search results and listings pages on its website, mobile site and apps.