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
The SkipToContent component is meant to link out to the main section of a page, to allow keyboard users to skip directly to that content.
Unfortunately, while the SkipToContent component currently links to #main-content, there is currently no element/target with that id on any of the pages. As a result, the SkipToContent link does not go anywhere.
Ideally, there would be an element on the page somewhere with the id="main-content" so that when a user activates the SkipToContent link, they can jump to that element/target.
The text was updated successfully, but these errors were encountered:
Also FYI this affects the Carbon website as well -- but I assume that a change here would ultimately be absorbed into the website after a version bump?
jendowns
changed the title
[SkipToContent]: does not function correctly by targetting any part of the page
[SkipToContent]: does not target any part of the page to allow skipping
Dec 11, 2019
Detailed description
The
SkipToContent
component is meant to link out to the main section of a page, to allow keyboard users to skip directly to that content.Unfortunately, while the
SkipToContent
component currently links to#main-content
, there is currently no element/target with that id on any of the pages. As a result, theSkipToContent
link does not go anywhere.Ideally, there would be an element on the page somewhere with the
id="main-content"
so that when a user activates theSkipToContent
link, they can jump to that element/target.The text was updated successfully, but these errors were encountered: