Skip to content

Is it really invalid to omit a meta viewport? #109

@rviscomi

Description

@rviscomi

Current behavior:

image

I see this on https://www.amazon.com/ when I'm logged in using a desktop device. When I emulate a mobile viewport, they adaptively serve a meta viewport, albeit with validation warnings of its own:

image

Given that meta viewports are really only useful for mobile devices, it's not necessarily bad for a desktop site to omit one. The thing is that it's hard for Capo to know whether we're looking at the desktop version of a site or whether it adaptively serves a meta viewport for the mobile version.

I'd be interested to hear feedback on whether it's generally a good idea to always have one, in which case we should keep the validation warning, or if there are too many use cases where omitting it is valid and removing the warning would be better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions