[ad_1]
A new explanatory film for a new HTML attribute to handle handwritten input. Like this:
The primary use case is for those who use one of those touchscreen writing devices like the Apple Pencil. The explanation comes from the Microsoft Edge team, so maybe the Surface Slim Pen is the impetus for this. I suppose there are other use cases, as the same devices that support pen-like input devices usually also support using the finger. There are also those text field signatures in apps like DocuSign that are incredibly difficult to sign with the mouse cursor, although it is possible.
We leave it to the author, Adam Ettenberger, articulate better than I can:
The developer creating the drawing widget may not be aware that it may be located above or near an input element, and it may seem inconvenient to have to find such elements and disable the handwriting feature on them.
Autoplay media
Why an HTML attribute? The explainer outlines some alternatives that have been considered, including:
- Extending the CSS
pointer-events
Property (e.g.pointer-events: handwriting
) - Extending the CSS
touch-action
Property - Extending the HTML
inputmode
attribute
And why not a JavaScript API instead? Haha, we will not There.
Anyway, handwriting
on the web… let’s see if we can get a prototype!
Some more contextual information:
[ad_2]
Source link