Labelmask is a way to create accessible input hinting without using input masks.

input[type=text] (Credit Card) with data-grouplength="4" and pattern="[0-9]*"
input[type=tel] (US Phone Number) with data-grouplength="3,3,"