Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
Update so telephone numbers are clickable for users.
Why?
While working on this PR I thought this would improve the UX and potentially the a11y for users.
This update allows a user to click a telephone number and have the relevant app responsible for calling activated.
Automatic format detection exists for many mobile device browsers, this will convert mobile numbers into clickable numbers automatically. On desktop there are other behaviours. At present a user will have to copy-paste or write down a number in order to call whilst viewing on desktop.
There are different behaviours on desktop: on macOS this might result in FaceTime Audio or tethering being activated. On Windows this might activate VoIP (eg Skype), on Chromebook there are other behaviours.
Anything else?
Noticed there is further conversations about this happening here
Draft PR for comments / technical reference
This would need investigation with users / a support matrix of behaviours
There are other considerations and testing required (eg international numbers)
The Design System currently notes not to do this, however acknowledges further research needed to validate
Further reading (Link 1, Link 2)
Related issues and PRs
alphagov/govuk-design-system#2022
alphagov/govuk-design-system#2070