Actual widget output
Respect the store’s choice

Show a product attribute only when it is set to visible.

Each example below is the actual published output of the Product attribute visibility note widget for a sample product, Enamel mug: its Colour and Material attributes are set to Visible on the product page, and a Kiln batch attribute is kept hidden.

Material: Stoneware

The default Material attribute, visible: Material: Stoneware.