Closed adamduncan closed 8 years ago
If a bypass link has been included in the page, but its target (id) isn't present in page, throws null errors.
Make sure we're testing for the presence of target before we try to set/removeAttribute or focus it, etc.
target
set
removeAttribute
focus
Might be a good chance to update e.target to e.currentTarget, as per #76.
e.target
e.currentTarget
If a bypass link has been included in the page, but its target (id) isn't present in page, throws null errors.
Make sure we're testing for the presence of
target
before we try toset
/removeAttribute
orfocus
it, etc.Might be a good chance to update
e.target
toe.currentTarget
, as per #76.