focusableElements selectors list doesn't include the new <permission /> element
Provide a general summary of the issue here
the focusableElements selectors list (https://github.com/adobe/react-spectrum/blob/2e9061df69eb17f17b0fb7d64d318c2835aed145/packages/%40react-aria/utils/src/isFocusable.ts) doesn't include the new
this is a new element introduced in Chrome, which acts as a button, and has role: button in the accessibility tree
๐ค Expected Behavior?
the permission element should be part of that list so that usages of <FocusScope /> and more would work with the new
๐ฏ Current Behavior
it ain't part of the list, so when using <FocusScope /> it skips over the
๐ Possible Solution
add to list
๐ฆ Context
No response
๐ฅ๏ธ Steps to Reproduce
https://codesandbox.io/p/sandbox/strange-monad-2zyz2p must be on chrome, with the "Page embedded permission control (permission element)" flag enabled in chrome://flags
Version
3.30.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
Mac
๐งข Your Company/Team
No response
๐ท Tracking Issue
No response
note that it appears that .focus() doesn't currently work on the
Thanks for raising this, also tracking PEPC spec, and would love to see this supported when .focus() is added
update: the upstream issue has been fixed, and released in chrome beta