You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if the SkipLink is included without any additional attributes, and there is an element on the page with an id of maincontent, then clicking the skip to content link causes a double jump, first to the heading, then to #maincontent.
A suggested fix would be to always call e.preventDefault, then jump to either the first heading or #maincontent based on the setting of disableDefaultBehaviour and the existence of the id, e.g.
Currently if the SkipLink is included without any additional attributes, and there is an element on the page with an id of
maincontent
, then clicking the skip to content link causes a double jump, first to the heading, then to#maincontent
.A suggested fix would be to always call
e.preventDefault
, then jump to either the first heading or#maincontent
based on the setting ofdisableDefaultBehaviour
and the existence of the id, e.g.The text was updated successfully, but these errors were encountered: