What the person is doing
The product wants current coordinates for nearby search, delivery estimate, check-in, route start, location-based support, safety sharing, field work, fraud signals, personalization, or device-local context.
Application · lesson 12 of 15 · Cross-Device And Physical Interaction
Underlying principle: The same outcome may cross touch, camera, voice, keyboard, sensors, and offline moments. Design each transition as part of the task rather than a separate surface.
Ask for location only after a clear user action and task rationale, request the least precision and shortest scope that satisfies the task, handle grant, denial, timeout, stale data, unavailable service, and revoked permission, provide manual or saved-location fallback, show active tracking and stop controls, and state storage or retention rules.
The same outcome may cross touch, camera, voice, keyboard, sensors, and offline moments. Design each transition as part of the task rather than a separate surface.
The product wants current coordinates for nearby search, delivery estimate, check-in, route start, location-based support, safety sharing, field work, fraud signals, personalization, or device-local context.
Ask for location only after a clear user action and task rationale, request the least precision and shortest scope that satisfies the task, handle grant, denial, timeout, stale data, unavailable service, and revoked permission, provide manual or saved-location fallback, show active tracking and stop controls, and state storage or retention rules.
Unsupported browser, blocked iframe, missing permissions policy, insecure context, or disabled location services state.
What task action triggers the location prompt, and what rationale appears before the native permission dialog?
The native browser or OS prompt appears only after users understand why location is needed and choose a location-dependent action.
The product wants current coordinates for nearby search, delivery estimate, check-in, route start, location-based support, safety sharing, field work, fraud signals, personalization, or device-local context.
The full lab is intentionally loaded on request. That keeps this reading page fast while preserving the strong and weak states, keyboard checks, and failure scenarios.
The product wants current coordinates for nearby search, delivery estimate, check-in, route start, location-based support, safety sharing, field work, fraud signals, personalization, or device-local context.
Ask for location only after a clear user action and task rationale, request the least precision and shortest scope that satisfies the task, handle grant, denial, timeout, stale data, unavailable service, and revoked permission, provide manual or saved-location fallback, show active tracking and stop controls, and state storage or retention rules.
Unsupported browser, blocked iframe, missing permissions policy, insecure context, or disabled location services state.
Location prompt appears on page load and users deny because the purpose is unclear.
Label Use current location, Enter address, Retry, Open settings, Stop sharing, and Clear location controls visibly and programmatically.
MDN Web Docs - checked
Supports secure-context geolocation, prompts, current or watched position, errors, permission lifetime, and privacy warnings.
MDN Web Docs - checked
Supports current-position requests, timeout, maximumAge, high-accuracy, and error callbacks.
World Wide Web Consortium - checked
Supports consent, privacy, position options, error states, and watch lifecycle.
MDN Web Docs - checked
Supports permission state queries for geolocation and prompt, granted, and denied states.
World Wide Web Consortium - checked
Supports shared permission infrastructure, permission lifetime, and revocation behavior.
Android Developers - checked
Supports mobile permission rationale, runtime request, denial, and settings recovery behavior.
Apple Support - checked
Supports location services settings, app-level access, precise location, and user-managed recovery paths.
Mapbox - checked
Supports map-adjacent current-location controls, tracking, and disabled location states.
Source trail checked: