Consider a11y impact and/or competitor analysis for preventing browser zoom

Created on 20 September 2024, 2 months ago

Overview

Over in 🐛 Keyboard commands to zoom in and out should only impact the preview canvas Active @lauriii proposed that we prevent the user from zooming with the keyboard shortcuts cmd + and cmd -. This issue is to facilitate some discussion/research/UX consideration/competitor analysis around that proposal.

I suggest reading through the discussion on that issue before embarking on this.

Proposed resolution

So there are many facets to this topic and I think some research, some careful consideration and a discussion culminating in a decent write up would allow us to make a good move forward.

What do competing page builders do? How does Figma work for example?
Disabling the keyboard shortcuts stops only one avenue of a user zooming (View->Zoom In from the Chrome menu would still work for example) so the UI needs to support zooming anyway.
My hunch is that a11y requires that we should allow a user to zoom the UI but it's not my area of expertise.
On macOS using the pinch zoom gesture on a trackpad offers a OS level zoom behaviour that is different from the browser zoom behaviour. This is not great for our use case and actually causes a bug described in 🐛 Pinch gesture zooming sometimes invokes OS zoom behavior Active .

🌱 Plan
Status

Active

Component

Page builder

Created by

🇬🇧United Kingdom jessebaker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024