cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bric3
Strollin' around
Status: New idea

macOs has a text "kind" detection, especially for phone numbers. Which makes it very practical to be use.

Unfortunately on macOs firefox do not have this capability, and this would be very practical to just invoke these OS native contextual actions. Just taking into actions the accessibility.

bric3_0-1739278922472.png

 

3 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

culi
Strollin' around

This is something that ultimately depends on the website. Typically, the way you embed a phone number on a website is with an anchor tag like <a href="tel:123-456-7890">(123) 456-7890</a>

However, Safari goes an extra step and tries to automatically detect any text that's formatted like a phone number and treat it as if they website authors had added the href.

Many website authors dislike this behavior by Apple and specifically disable it by adding this to their <head>.

<meta name="format-detection" content="telephone=no">

bric3
Strollin' around

This is something that ultimately depends on the website.


Today I learned. I thought this was only triggered by text selection, there is indeed the following :

<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="date=no">
<meta name="format-detection" content="address=no">
<meta name="format-detection" content="email=no">

I don' know if Apple did anything wrong here, because meta is by definition extensible and it's used for social media purpose like these:

<meta name="twitter:card" content="summary_large_image"/>
<meta property="og:type" content="website"/>

Regardless, I still think phone, or other format detection mechanisms are practical user facing features.