Keyboard shortcut does not work as expected
Closed this issue · 4 comments
Copy URL To Clipboard v10.0.1
Steps to reproduce:
- Install chrome extension
- Go to chrome://extensions/shortcuts and set shortcut for
Copy URL
toAlt+C
- Open
https://www.reddit.com/r/twice/comments/11z063x/230323_twitter_update_twice_5th_world_tour_ready/
in new tab - Press
Alt+C
on reddit page (this should copy the reddit link) - Open the twitter link on a new tab (right click or middle click)
- Press
Alt+C
again on reddit page (it's now changed to the twitter link) - Go to twitter page and press
Alt+C
(link has been cropped)
Not a bug.
It's because twitter link is still focused.
Click somewhere else in the reddit page and then press Alt+C.
The browser doesn't show any indicators of a focused link. I find that to be confusing. When working on the links on a page, I only expect them to work through the context menu.
The issue on step 7 shouldn't happen though. I was able to mitigate it by clicking somewhere on the page.
If this issue is happening only on twitter.com, it is caused by how the twitter.com site is made. I haven't digged it deeply, but it seems that the link to the twitter ID is specified with aria-hidden for screen readers, so I think that the hidden link is picked up by keyboard operation.
Anyway, I don't think it's a bug in this extension, so I'll close this issue for now.
Feel free to reopen.