use @media to do what in this case? to not display the virtual keyboard on input.onfocus?
In order to achieve this why not use @media to identify a device which uses touch input (I'm sure there are some edge cases, but this seems like a good proxy for a mobile device) and javascript or jquery to disable autofocus?