Re: [csswg-drafts] [selectors] `:focusable` pseudo-class (#7269)

If it can't include/exclude everything then `:focusable` is a bad name and it should be renamed to something like `:focusable-candidate`.

Related, maybe 90% of my focus woes would be fixed by a javascript api that let me focus the element that the user would land on if they hit tab/shift+tab if focus was on a particular element so I could move focus off my component without having to know about the world outside its perimeter, something like `document.focusNext({from: myComponentRoot})`

-- 
GitHub Notification of comment by jimmyfrasche
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7269#issuecomment-1124110157 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 11 May 2022 18:04:59 UTC