Skip to content

Conversation

@cubiclesoft
Copy link

This adds improved keyboard navigation "to" support for text, images, and video. That is, navigating to non-text elements. Navigating away "from" images and video is a separate commit.

This also fixes the navigation issue in Firefox for spurious 'br' tags.

Partially fixes some of the issues in GetmeUK/ContentTools#487

Copy link

@stakx stakx left a comment

Choose a reason for hiding this comment

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

Looks good. I did stumble on a few additional (but easily fixed) test failures.

# should navigate to the previous text node.
# should navigate to the previous navigable node.
ev.preventDefault()
ev.stopPropagation()
Copy link

Choose a reason for hiding this comment

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

This (as well as the other addition of ev.stopPropagation()) will cause a few tests to fail unless you add
dummy implementation in src/spec/text.coffee. (You might also have to recompile the specs using grunt spec.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants