Skip to content

Conversation

@tomayac
Copy link
Member

@tomayac tomayac commented Jan 14, 2026

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
Copy link

@therafiali therafiali left a comment

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

Thank you so much Paul!

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.

4 participants