Skip to content

Luma theme meta viewport tag contains maximum-scale=1.0, user-scalable=no #5403

Closed
@svossen

Description

@svossen

The Luma theme viewport meta tag contains maximum-scale=1.0, user-scalable=no. This is a really bad practise and is really harmful for the accessibility of the interface! Developers should not decide how a user should interact with the interface. This should be up to the user.

Fortunately the blank theme contains the correct meta viewport tag. But some shops will probably use
Luma as main theme or as fallback so it's important that those values are removed from the Luma theme as well.

Steps to reproduce

Always, meta tag is added to the header

Expected result

<meta name="viewport" content="width=device-width, initial-scale=1">

Actual result

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions