Skip to content

<geolocation> element #3707

@rviscomi

Description

@rviscomi

Specification

https://wicg.github.io/PEPC/permission-elements.html

Description

The <geolocation> HTML element is a new declarative tag that allows websites to request location access through a user-initiated button rather than traditional script-triggered prompts. This approach simplifies development by reducing boilerplate code for permission handling and improves the user experience by providing clear intent and avoiding unexpected permission blocks.

Documentation

https://developer.chrome.com/blog/geolocation-html-element

Browser support

Available in Chrome 144

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature definitionCreating or defining new features or groups of features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions