Skip to content

Commit

Permalink
Ensure the page can be pinch to zoomed
Browse files Browse the repository at this point in the history
I've tested in latest versions of iOS and Android.

- iOS v10 onwards ignores disabling pinch to zoom
- Android does not ignore disabling pinch to zoom, although the user can override this.

I have not been able to introduce any negative impact for removing pinch to zoom, the interface scales proportionally and does not obstruct anything. So given that iOS already ignores this I think we should allow this for all users.

This is also a WCAG accessibility requirement.

Fixes #110
  • Loading branch information
NickColley committed Nov 12, 2019
1 parent ec70170 commit 6512627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/source/layouts/core.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<% if config[:tech_docs][:prevent_indexing] %>
<meta name="robots" content="noindex">
<% end %>
Expand Down

0 comments on commit 6512627

Please sign in to comment.