focus-lock icon indicating copy to clipboard operation
focus-lock copied to clipboard

elements with contenteditable seem to behave as though they have a larger tabIndex

Open alex-e-leon opened this issue 8 months ago • 4 comments

When running autofocus on a collection of focusable items - contenteditable items seem to take priority over other items, unless you manually set the tabindex on it to 0.

I've only tested in chrome, so I'm not sure if this behaviour is reproducible in other browsers.

I think the default behaviour should be that contenteditable items have the same priority as other focusable items?

alex-e-leon avatar May 27 '24 15:05 alex-e-leon