1: Navigate to: data:text/html,<div><button>Bold</button><button>Italic</button><div%20contenteditable="true">Hello</div><button>Bold</button><button>Italic</button></div>
2. Click between the 'e' and the 'l' in 'Hello'.
3. Press shift+tab
Focus moves to the "Italic" button
Focus doesn't change.
Firefox and Chrome produce the expected results, as does a regular <input type="text"> field.
The expected results assume that the user has turned on Preferences... > Advanced > Accessibility > "Press Tab to highlight each item on a web page".
If the user has turned this setting off, then the actual result (focus doesn't change) is still true, but instead the expected behaviour would have been for focus to move to the URL bar.
I can reproduce this. Very weird!
Likely a regression from https://trac.webkit.org/r201832.
Pull request: https://github.com/WebKit/WebKit/pull/1975
Committed 252029@main (7dc7f7fcb381): <https://commits.webkit.org/252029@main>
Reviewed commits have been landed. Closing PR #1975 and removing active labels.