Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Improving Chrome focus highlighting #804

Merged
merged 2 commits into from
Oct 27, 2014
Merged

Conversation

kevinparkerson
Copy link
Contributor

Addresses issue #726 by changing chrome's highlight on focus of rows to be more visually-appealing; also addresses minor accessibility bug #805 when attempting to select rows via enter key

…highlight on focus of rows to be more visually-appealing; also fixes minor accessibility bug when attempting to select rows via enter key
@kevinparkerson kevinparkerson added this to the 3.2.0 milestone Oct 27, 2014
@futuremint futuremint self-assigned this Oct 27, 2014
@@ -436,7 +436,7 @@
// allow selection via enter key
$item.keyup(function (e) {
if (e.keyCode === 13) {
$item.trigger('clicked.fu.repeaterList');
$item.trigger('click.fu.repeaterList');
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought all our events are supposed to be "past-tense"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not this one - it is not triggered on this.$element and is instead used to trigger the row handler before it for accessibility.

@kevinparkerson
Copy link
Contributor Author

Added additional issue to account for accessibility bugfix in this PR

futuremint added a commit that referenced this pull request Oct 27, 2014
@futuremint futuremint merged commit 383315d into master Oct 27, 2014
@futuremint futuremint deleted the repeater-chrome-highlight branch October 31, 2014 16:57
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.

2 participants