Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
StephDriver opened this issue May 31, 2024 · 0 comments
Labels
a11y Issues that relate to acessibility VPAT Issue prioritised for VPAT improvements.

Comments

@StephDriver
Copy link
Contributor

StephDriver commented May 31, 2024

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 StephDriver added the a11y Issues that relate to acessibility label May 31, 2024
@StephDriver StephDriver added the VPAT Issue prioritised for VPAT improvements. label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Issues that relate to acessibility VPAT Issue prioritised for VPAT improvements.
Projects
Status: Sent to Dev
Development

No branches or pull requests

1 participant