I can see it on my paystub, it has a nice breakdown of where everything goes.
I’d argue you could do the same with anything, in the case of restaurants just show the actual total on the menu and include a breakdown on the receipt so people who care can see how much is going to taxes and such.
Your paystub or W-2 show how much tax YOU are paying. Social security is two-sided, you pay half and the employer pays half, unless you know that already, the paycheck itself doesn't say so. There are also additional types of taxes, such as unemployment, the employer pays that aren't shown on your pay stub.
I’d argue you could do the same with anything, in the case of restaurants just show the actual total on the menu and include a breakdown on the receipt so people who care can see how much is going to taxes and such.