Re: [w3ctag/design-reviews] Invokers API (Issue #920)

> "It depends". When it does, it will most certainly be specified. Specifically for a `popover` it runs the popover focusing steps - which may or may not change focus, and for `<dialog>` elements it runs the dialog focusing steps, which definitely does change focus. Those are the only two specced right now but the others we will be sure to specify whether they change focus or not.

I think another way to think about this is that the invoker logic should (always?) execute an existing imperative algorithm/function. And those should already be doing the right thing. So for popover and dialog, the `showPopover` and `showModal` functions should already correctly manage the focus.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/920#issuecomment-1968269511
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/920/1968269511@github.com>

Received on Wednesday, 28 February 2024 05:37:07 UTC