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.