Skip to content

VisibilityChange documentation is misleading #43092

@Wendenburg

Description

@Wendenburg

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilitychange_event

What specific section or headline is this issue about?

The visibilitychange event is fired at the document when the contents of its tab have become visible or have been hidden

What information was incorrect, unhelpful, or incomplete?

This is misleading as it does not consider page reload or navigation to an other page. This is only mentioned later in the document.

What did you expect to see?

The intro should mention that a visibility change is not bound to the tab only

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions