Probably the dictionary will give a better definition of that particular use of "taste" than I can come up with. It has to do with the ability to judge or discern what is proper or appropriate in a given situation. It has very little to do with the sense of taste provided by the taste buds in our mouths.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.