Skip to content

Commit 4edefc7

Browse files
committed
Make copy-to-clipboard links not tabbable/focusable
1 parent e6c7949 commit 4edefc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/javascripts/views/content/entry_page.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class app.views.EntryPage extends app.View
4040
@trigger 'loaded'
4141
return
4242

43-
CLIPBOARD_LINK = '<a class="_pre-clip" title="Copy to clipboard"></a>'
43+
CLIPBOARD_LINK = '<a class="_pre-clip" title="Copy to clipboard" tabindex="-1"></a>'
4444

4545
addClipboardLinks: ->
4646
for el in @findAllByTag('pre')

0 commit comments

Comments
 (0)