Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Implementing skip nav #747

Merged
merged 2 commits into from
Sep 24, 2015
Merged

Implementing skip nav #747

merged 2 commits into from
Sep 24, 2015

Conversation

noahmanger
Copy link
Contributor

Removes the tabindex from <main> and implements the skip-nav link from https://github.com/18F/fec-style/pull/113/files

@@ -49,6 +50,8 @@ $('.js-typeahead-filter').each(function() {
new typeaheadFilter.TypeaheadFilter(this, dataset);
});

new skipNav.Skipnav('.skip-nav');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use 'new' for side effects.

@jmcarp jmcarp merged commit 26aecbc into develop Sep 24, 2015
@jmcarp jmcarp deleted the feature/skip-nav branch October 2, 2015 16:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants