Steps to replicate the issue (include links if applicable):
- Go to https://en.wikipedia.org/wiki/Special:Watchlist
- Try any of the following actions:
What happens?:
- Thank link/button does not react on Space while being essentially a button
- Does not have role=button while acting as one
- The page loses focus upon pressing the thank button (focus should be kept to the confirmation interface)
- Yes/no buttons also do not react on Space and do not have proper semantics (role=button)
- Debatable: you should be able to cancel the prompt with Esc button
Same applies to rollback confirmation and any modules based on jquery.confirmable.