|
|
|
|
|
by rikroots
1425 days ago
|
|
For the first example - the Agency homepage with the playful mouse pointer interaction - I managed to get this working with a keyboard-controlled pointer. Controlling mouse via keyboard is a standard accessibility feature in both MacOS[1] and Windows[2]. I've never investigated this functionality before - which is shameful, as my main side project is a JS library targeted at making the HTML canvas element more accessible to users (like the author, I have no need for accessibility enhancements in my daily work or life). So I popped over to my library's test/demo page and followed the instructions for invoking pointer move/press/release/etc actions via the keyboard. From my brief investigation, the actions seem to work as expected in those demos that test/use pointer hover/click interactions.[3] Reports of shortcomings in my library, when it comes to accessibility issues, are always very welcome! [1] - Control the mouse pointer using the keyboard in MacOS https://support.apple.com/en-gb/guide/mac-help/mh27469/mac [2] - Control the mouse pointer using the keyboard in Windows https://support.microsoft.com/en-us/windows/use-mouse-keys-t... [3] - Scrawl-canvas testing and demo page - https://scrawl-v8.rikweb.org.uk/demonstrations |
|