Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure message for meta-viewport rule is unclear #1045

Closed
liloda opened this issue Aug 3, 2018 · 1 comment
Closed

Failure message for meta-viewport rule is unclear #1045

liloda opened this issue Aug 3, 2018 · 1 comment
Labels

Comments

@liloda
Copy link

liloda commented Aug 3, 2018

One of our users found this failure message confusing:
Fix the following: <meta> tag disables zooming on mobile devices

Suggest mentioning the attribute that actually causes the problem (user-scalable=no), something like this:
Fix the following: user-scalable="no" on <meta> tag disables zooming

@marcysutton
Copy link
Contributor

I submitted a PR to fix this: #1061

marcysutton pushed a commit that referenced this issue Aug 8, 2018
marcysutton pushed a commit that referenced this issue Aug 9, 2018
marcysutton pushed a commit that referenced this issue Aug 9, 2018
WilcoFiers pushed a commit that referenced this issue Aug 16, 2018
A user reported the meta-viewport check had a confusing failure message, so I changed it to pass along the failing attribute:

"Fix the following: user-scalable="no" on <meta> tag disables zooming"

Closes #1045

## Reviewer checks

**Required fields, to be filled out by PR reviewer(s)**
- [x] Follows the commit message policy, appropriate for next version
- [x] Has documentation updated, a DU ticket, or requires no documentation change
- [x] Includes new tests, or was unnecessary
- [x] Code is reviewed for security by: Jey (@JKODU)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants