Is it possible to create a script that simulates pressing CTRL and + or CTRL and -?

Asked

Viewed 22 times

-2

Solve accessibility problem on a page. It is possible to simulate the keys in a script CRL + + and CTR + -. These keystrokes increase and decrease the zoom of the screen, respectively. Complementing my question, one of the ways to improve accessibility on the page would be to expand/decrease the page, resources that this sequence of keystrokes.

  • Related From what I’ve researched, it’s not possible directly, only via CSS, but I don’t know its context because the question lacked details.

  • If the idea is to simulate only, then the property transform: scale(<valor desejado>%) in the element body {} must solve. But without presenting arguments for the need, then maybe it’s an XY problem and we have no way to help with the question in the current form... Another thing, you used the [tag:accessibility] tag on the question, and this tag is very specific, but you didn’t explain where your need fits without accessibility, it’s important to [Edit] and explain all the points and/or need clearly. Thank you for understanding.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.