janeway icon indicating copy to clipboard operation
janeway copied to clipboard

Telephone-like numbers need formatting that they aren't telephone numbers

Open StephDriver opened this issue 2 months ago • 0 comments

When viewing a page on iOS in Safari (and other smartphone devices?) any number which could be a telephone number gets formatted as a link to 'call' that number. This is an a11y issue, as it makes the content potentially confusing. In particular issn numbers are being confused this way, but likely there are more kinds of numbers which could be affected.

Identified in Screen reader testing (#4194):

  • Sample 3, item 55. the issn number is picked up by ios Safari as if it were a telephone number (turns it into a link and offers to call it). This behaviour can, and should be overridden in the HTML. And similar overrides considered for all numbers we use that won't be telephone numbers!

It appears this situation can be avoided: <meta name="format-detection" content="telephone=no">. see Apple Documentation

StephDriver avatar May 31 '24 11:05 StephDriver