My original thought is sometimes we have to honor the inputType first then the inputMode.
e.g. for type="url" and type="email", we might not want the inputMode="digits" to be effective.
Of course, we can always honor inputMode first and leave the responsibility to the web author.