News for hackers. Stuff that matters.

thirty6degrees

That is odd. However, it looks like this matches the behaviour of <input type="number"> (both trigger the punctuation keyboard).
Those iOS issues with type="number" are really interesting – thanks for sharing.

Support for inputmode was added in iOS 12.2, but initially it used the 'numeric keypad with punctuation' – is that what you mean by 'the keyboard shown varies from that for pattern='? iOS 13 updated this behaviour, so it now uses the 'correct' numeric keypad, without the punctuation keys.

The pattern attribute is still provided in order to trigger the numeric keypad on older versions of iOS. Once traffic from older iOS devices drops off we'll likely remove it.

There's a little more info here: https://github.com/alphagov/govuk-frontend/issues/1449

(I work on the team)