Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

JS for navigation keyboard accessibility #99

Merged
merged 3 commits into from Jun 11, 2014
Merged

Conversation

cshold
Copy link
Contributor

@cshold cshold commented Jun 10, 2014

@mpiotrowicz Updated nav accessibility with some JS to ensure keyboard navigation (tabs, not arrows or anything too fancy)

timber.productImageSwitch();
}

timber.accessibleNav = function () {
var allLinks = timber.cache.navigation.find('a'),
Copy link
Contributor

Choose a reason for hiding this comment

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

just a thought, but for instances where you'er referring to the object many times, might be worthwhile to cache timber.cache.navigation - meta cache? too much cache?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Meta-cache indeed!

cshold added a commit that referenced this pull request Jun 11, 2014
JS for navigation keyboard accessibility
@cshold cshold merged commit a1554c7 into master Jun 11, 2014
@cshold cshold deleted the nav-accessibility branch June 17, 2014 15:48
cimocimocimo pushed a commit to cimocimocimo/Theia-Shopify-Theme that referenced this pull request Nov 25, 2014
JS for navigation keyboard accessibility
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants