I want to make
<input type="password">
to display numeric keyboard only on mobile devices (iOS/Android).
I have seen solutions like:
input[type=number] {
-webkit-text-security: disc;
}
But I cannot use this because of security and accessibility. Input value will be visible in inspector and voice over reads the numbers out loud.
Is there a way to achieve hidden input with numeric keyboard and proper accessibility?