Opened 12 years ago
Closed 12 years ago
#24777 closed enhancement (fixed)
wp-login mobile viewport
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | General | Keywords: | has-patch 3.7-early commit |
Focuses: | Cc: |
Description
The wp-login.php page has incorrectly formatted viewport arguments. They should be CSV, not ; separated. In addition, it is impossible for plugins to override this setting, which is why I added the "login_page_viewport" filter to allow 3rd party plugins to specify their own viewport.
Attachments (3)
Change History (13)
#4
@
12 years ago
- Keywords 3.7-early added
- Milestone changed from Awaiting Review to Future Release
- Severity changed from major to normal
- Type changed from defect (bug) to enhancement
Bug fixed for 3.6 in [24779], leaving the rest for a future release and further discussion.
#6
@
12 years ago
My general idea for this patch is to make the login page more accessible, and also allow plugin authors to override the login page viewport. I don't like to disable user scale, as that makes it harder for older people to use the login page, as they cannot zoom in if they have vision impairments.
#7
@
12 years ago
So to be clear:
- remove user-scalable=0
- make maximum-scale=1.1
Rather than a filter, we would attach an action to login_head and output the meta tag there. But I'm not sure this is necessary for now with a change in the scale?
#8
@
12 years ago
Seems the least intrusive value for the meta is content="width=device-width"
as the whole form is 320px wide. Tested on iPad and Android 4.3 phone. If we need to shrink it a bit so it doesn't have horizontal scroll on older phones (320px width), this can be done better in the css. Also agree with @bobbravo2, don't see a point in limiting the scaling, no need for maximum-scale
.
Updated the maximum zoom to 1.1: http://cl.circletr.ee/image/2Y3N0w0g3w3L


Allows for larger type for older audience without breaking the interface
Max Zoom:
Min Zoom: