I am working through accessibility issues. One of these issues relates to zoom. I want to prevent certain components, images and text from getting bigger as a user zooms in. Some of these are easy by setting a max-width: 5vw
, but I cannot set a max font-size. Is it possible to prevent fonts from getting bigger as you zoom?
I can also set max-width and height on images, but a 400%, it disappears because I am using vw & vh
.
Here is a screenshot at 400% zoom;
You can see the AppBar and Sidebar. The content at the top should not be overflowing the Appbar, and the Sidebar is empty because its content has gotten bigger with zoom and is now hidden behind the main content section (slight gray zone).