Skip to content

Document the user preferences API#43276

Open
remcohaszing wants to merge 2 commits intomdn:mainfrom
remcohaszing:navigator-preferences
Open

Document the user preferences API#43276
remcohaszing wants to merge 2 commits intomdn:mainfrom
remcohaszing:navigator-preferences

Conversation

@remcohaszing
Copy link

Description

This adds content for the navigator.preferences property and related objects.

Motivation

I want to raise more awareness for this awesome upcoming feature.

Additional details

Related issues and pull requests

Relates to mdn/browser-compat-data#29142

@remcohaszing remcohaszing requested review from a team as code owners February 27, 2026 10:25
@remcohaszing remcohaszing requested review from chrisdavidmills and pepelsbey and removed request for a team February 27, 2026 10:25
@github-actions github-actions bot added the Content:WebAPI Web API docs label Feb 27, 2026
@github-actions github-actions bot added the size/l [PR only] 501-1000 LoC changed label Feb 27, 2026
@remcohaszing
Copy link
Author

The side navigation for the User Preferences API is missing. I couldn’t figure out what’s needed to make it work.

@github-actions
Copy link
Contributor

Preview URLs (16 pages)
Flaws (29)

Note! 3 documents with no flaws that don't need to be listed. 🎉

Found an unexpected or unresolvable flaw? Please report it here.

URL: /en-US/docs/Web/API/Navigator
Title: Navigator
Flaw count: 1

  • macros:
    • Macro domxref produces link /en-US/docs/Web/API/Navigator/standalone which doesn't resolve

URL: /en-US/docs/Web/API/PreferenceObject/change_event
Title: PreferenceObject: change event
Flaw count: 2

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

URL: /en-US/docs/Web/API/PreferenceObject/clearOverride
Title: PreferenceObject: clearOverride() method
Flaw count: 4

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve
  • unknown:
    • must be provided
    • must be provided

URL: /en-US/docs/Web/API/PreferenceObject/override
Title: PreferenceObject: override property
Flaw count: 2

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

URL: /en-US/docs/Web/API/PreferenceObject/requestOverride
Title: PreferenceObject: requestOverride() method
Flaw count: 4

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve
  • unknown:
    • must be provided
    • must be provided

URL: /en-US/docs/Web/API/PreferenceObject/validValues
Title: PreferenceObject: validValues property
Flaw count: 2

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

URL: /en-US/docs/Web/API/PreferenceObject/value
Title: PreferenceObject: value property
Flaw count: 2

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

URL: /en-US/docs/Web/API/PreferencesManager/colorScheme
Title: PreferencesManager: colorScheme property
Flaw count: 2

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

URL: /en-US/docs/Web/API/PreferencesManager/contrast
Title: PreferencesManager: contrast property
Flaw count: 2

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

URL: /en-US/docs/Web/API/PreferencesManager/reducedData
Title: PreferencesManager: reducedData property
Flaw count: 2

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

URL: /en-US/docs/Web/API/PreferencesManager/reducedMotion
Title: PreferencesManager: reducedMotion property
Flaw count: 2

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

URL: /en-US/docs/Web/API/PreferencesManager/reducedTransparency
Title: PreferencesManager: reducedTransparency property
Flaw count: 2

  • macros:
    • Macro apiref produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro apiref produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

URL: /en-US/docs/Web/API/User_Preferences_API
Title: User Preferences API
Flaw count: 2

  • macros:
    • Macro defaultapisidebar produces link /en-US/docs/Web/API/PreferenceManager which doesn't resolve
    • Macro defaultapisidebar produces link /en-US/docs/Web/API/PreferencesObject which doesn't resolve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/l [PR only] 501-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant