Skip to content

core(geolocation-on-start): mention geolocation element#16835

Merged
connorjclark merged 4 commits into
GoogleChrome:mainfrom
tomayac:patch-1
Jun 5, 2026
Merged

core(geolocation-on-start): mention geolocation element#16835
connorjclark merged 4 commits into
GoogleChrome:mainfrom
tomayac:patch-1

Conversation

@tomayac

@tomayac tomayac commented Jan 14, 2026

Copy link
Copy Markdown
Member

Added a suggestion to use the element for better user experience.

Summary

The <geolocation> element arguably is the best way to request geolocation.

https://developer.chrome.com/blog/geolocation-html-element?hl=en

Related Issues/PRs

Added a suggestion to use the <geolocation> element for better user experience.
@tomayac tomayac requested a review from a team as a code owner January 14, 2026 10:44
@tomayac tomayac requested review from connorjclark and removed request for a team January 14, 2026 10:44

@therafiali therafiali left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'[Learn more about the geolocation permission](https://developer.chrome.com/docs/lighthouse/best-practices/geolocation-on-start/). ' +
'Also consider using the [`<geolocation>` element](https://developer.chrome.com/blog/geolocation-html-element).',

@gilbertococchi

Copy link
Copy Markdown

Thank you so much Paul!

@connorjclark connorjclark changed the title Enhance geolocation permission description core(geolocation-on-start): mention geolocation element Jun 5, 2026
@connorjclark connorjclark merged commit 85c711d into GoogleChrome:main Jun 5, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants