You're right. But it certainly includes how it looks.
You can't silo off certain aspects of interaction between products and users. The visual aesthetics of a product are subjectively at the front of the line when it comes to design.
Design is a "why not both" profession. You can't have a pretty looking site that doesn't function properly and still have a great product. You also can't have a functioning site that looks like shit and still have a great product. You need all aspects of design; visual, experience, functionality, etc. to come together at the same time to deliver a great product to the end user.