This is super exciting :)
It feels like DevTools cool provide some help to webdevelopers here, so I 
filed a meta bugs with some ideas of what we could provide: 
https://bugzilla.mozilla.org/show_bug.cgi?id=1862902 



On Friday, November 3, 2023 at 1:30:30 AM UTC+1 [email protected] 
wrote:

> *Summary*:
>   Adding invoketarget and invokeaction attributes to <button> and <input 
> type="button"> / <input type="reset"> elements would allow authors to 
> assign behaviour to buttons in a more accessible and declarative way, while 
> reducing bugs and simplifying the amount of JavaScript pages are required 
> to ship for interactivity. Buttons with invoketarget will - when clicked, 
> touched, or enacted via keypress - dispatch an InvokeEvent on the element 
> referenced by invoketarget, with some default behaviours.
>
> *Bug*:
>  https://bugzilla.mozilla.org/show_bug.cgi?id=1856430
>
> *Specification*:
>  https://github.com/whatwg/html/pull/9841
>
> *Standards Body*:
>   WHATWG
>
> *Platform coverage*:
>   all.
>
> *Preference*:
>   dom.element.invokers.enabled
>
> *DevTools bug*:
>  n/a.
>
> *Link to standards-positions discussion*:
>  https://github.com/mozilla/standards-positions/issues/902
>
> *Other browsers*:
>   Blink: Prototyping (
> https://groups.google.com/a/chromium.org/g/blink-dev/c/tDanwUCp2cg/m/IPc9hvHcFAAJ
> ).
>   WebKit: No Signal.
>
> *web-platform-tests*:
>   
> https://wpt.fyi/results/html/semantics/invokers?label=experimental&label=master&aligned
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/3def440e-a505-4bcc-bfa3-50b19e9b0868n%40mozilla.org.

Reply via email to