only set focus on link if using keyboard nav, fixes: #9211
only set focus on link if using keyboard nav, fixes: #9211

Change-Id: Id1bbde5d933ad0d7d6e994f4ed89681d59823b56
Reviewed-on: https://gerrit.instructure.com/11932
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Ryan Florence <2d8900489f91ac272fd9ce9d5789db6522668ca2@instructure.com>

SwinburneOnline/canvas-lms,ShreniiNepal/shrenii_lmp,kyroskoh/canvas-lms,icelab/canvas,dgynn/canvas-lms,arrivu/qibla-ecampus,arrivu/jigsaw-lms,wimemx/Canvas,sfu/canvas-lms,narigone/canvas,SwinburneOnline/canvas-lms,shidao-fm/canvas-lms,snehakachroo1/LSI_replica,Jyaasa/canvas-lms,ShreniiNepal/shrenii_lmp,landonwilkins/canvas-lms,utkarshx/canvas-lms,antoniuslin/canvas-lms,rup/Tarrax,landonwilkins/canvas-lms,instructure/canvas-lms,Unow/canvas-lms,wrdsb/canvas-lms,nditech/red-innovadores-lms,skmezanul/canvas-lms,ShreniiNepal/shrenii_lmp,shidao-fm/canvas-lms,instructure/canvas-lms,fronteerio/canvas-lms,jay3126/canvas-lms,parbros/red-innovadores-lms,arrivu/jigsaw-lms,sli7246/canvas_branch,rup/Tarrax,efrj/canvas-lms,gbleydon/canvas-lms,AndranikMarkosyan/lms,arrivu/hiring-site,djbender/canvas-lms,dgynn/canvas-lms,sfu/canvas-lms,matematikk-mooc/canvas-lms,ankithbti/canvas_lms,redconfetti/canvas-lms,juoni/canvas-lms,SwinburneOnline/canvas-lms,wrdsb/canvas-lms,roxolan/canvas-lms,sdeleon28/canvas-lms,usmschuck/canvas,snehakachroo1/LSI_replica,grahamb/canvas-lms,arrivu/arrivu-lms,wye0220/shindig-canvas,grahamb/canvas-lms,Unow/ins,wrdsb/canvas-lms,parbros/red-innovadores-lms,sli7246/canvas_branch,eCNAP/CANVAS,usmschuck/canvas,greyhwndz/canvas-lms,whalejasmine/canvas-lms,arrivu/hoodemo,instructure/canvas-lms,ShreniiNepal/shrenii_lmp,nditech/red-innovadores-lms,Jyaasa/canvas-lms,sfu/canvas-lms,skmezanul/canvas-lms,usmschuck/canvas,nditech/red-innovadores-lms,kyroskoh/canvas-lms,Unow/canvas-lms,djbender/canvas-lms,jay3126/canvas-lms,Jyaasa/canvas-lms,skmezanul/canvas-lms,leftplusrightllc/canvas-lms,antoniuslin/canvas-lms,instructure/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,utkarshx/canvas-lms,roxolan/canvas-lms,wimemx/Canvas,venturehive/canvas-lms,AndranikMarkosyan/lms,dgynn/canvas-lms,tgroshon/canvas-lms,Rvor/canvas-lms,arrivu/arrivu-lms,ankithbti/canvas_lms,antoniuslin/canvas-lms,matematikk-mooc/canvas-lms,dgynn/canvas-lms,venturehive/canvas-lms,fronteerio/canvas-lms,sdeleon28/canvas-lms,skmezanul/canvas-lms,samuels410/greatlakes-lms,landonwilkins/canvas-lms,arrivu/hoodemo,redconfetti/canvas-lms,loganrun/pincan,fronteerio/canvas-lms,kyroskoh/canvas-lms,juoni/canvas-lms,instructure/canvas-lms,whalejasmine/canvas-lms,usmschuck/canvas,wye0220/shindig-canvas,greyhwndz/canvas-lms,sfu/canvas-lms,loganrun/pincan,wimemx/Canvas,roxolan/canvas-lms,redconfetti/canvas-lms,HotChalk/canvas-lms,leftplusrightllc/canvas-lms,rup/Tarrax,redconfetti/canvas-lms,Unow/ins,tgroshon/canvas-lms,sdeleon28/canvas-lms,leftplusrightllc/canvas-lms,greyhwndz/canvas-lms,leftplusrightllc/canvas-lms,fronteerio/canvas-lms,utkarshx/canvas-lms,HotChalk/canvas-lms,Unow/canvas-lms,instructure/canvas-lms,antoniuslin/canvas-lms,va7map/canvas-lms,sfu/canvas-lms,gbleydon/canvas-lms,arrivu/hiring-site,matematikk-mooc/canvas-lms,Rvor/canvas-lms,merichar/canvas-lms,arrivu/hiring-site,Rvor/canvas-lms,grahamb/canvas-lms,tgroshon/canvas-lms,snehakachroo1/LSI_replica,eCNAP/CANVAS,sli7246/canvas_branch,Unow/ins,va7map/canvas-lms,samuels410/greatlakes-lms,whalejasmine/canvas-lms,HotChalk/canvas-lms,eCNAP/CANVAS,greyhwndz/canvas-lms,merichar/canvas-lms,arrivu/hoodemo,efrj/canvas-lms,snehakachroo1/LSI_replica,djbender/canvas-lms,narigone/canvas,samuels410/greatlakes-lms,arrivu/qibla-ecampus,djbender/canvas-lms,va7map/canvas-lms,sdeleon28/canvas-lms,instructure/canvas-lms,juoni/canvas-lms,grahamb/canvas-lms,utkarshx/canvas-lms,Rvor/canvas-lms,efrj/canvas-lms,va7map/canvas-lms,venturehive/canvas-lms,efrj/canvas-lms,narigone/canvas,arrivu/arrivu-lms,nditech/red-innovadores-lms,jay3126/canvas-lms,eCNAP/CANVAS,shidao-fm/canvas-lms,AndranikMarkosyan/lms,juoni/canvas-lms,shidao-fm/canvas-lms,loganrun/pincan,ankithbti/canvas_lms,narigone/canvas,arrivu/qibla-ecampus,HotChalk/canvas-lms,tgroshon/canvas-lms,samuels410/greatlakes-lms,icelab/canvas,wye0220/shindig-canvas,arrivu/jigsaw-lms,icelab/canvas,merichar/canvas-lms,jay3126/canvas-lms,whalejasmine/canvas-lms,venturehive/canvas-lms,matematikk-mooc/canvas-lms,Jyaasa/canvas-lms,AndranikMarkosyan/lms,wrdsb/canvas-lms,sfu/canvas-lms,landonwilkins/canvas-lms,SwinburneOnline/canvas-lms,roxolan/canvas-lms,parbros/red-innovadores-lms,kyroskoh/canvas-lms,gbleydon/canvas-lms