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

Row actions not revealed when using a keyboard to navigate content #6

Open
afercia opened this issue Jun 3, 2017 · 2 comments
Open
Labels

Comments

@afercia
Copy link

afercia commented Jun 3, 2017

The row actions should get visible when using a keyboard to navigate content and focus gets into the row actions region.

Currently on WordPress this is achieved using jQuery focusin and focusout to switch the off-screen CSS relative position to static. Not sure how to implement a similar behavior in React.

@rmccue
Copy link
Member

rmccue commented Jun 6, 2017

Can this be done in CSS rather than in JS? Given that we're controlling CSS behaviour, moving it there would be better. I assume there must be a good reason for not just using :focus

The current behaviour seems to be that whenever the cell has focus, row actions are shown, right?

@afercia
Copy link
Author

afercia commented Jun 6, 2017

Can't be done with just CSS because when tabbing backwards (Shift+Tab) there's no CSS selector that allows to target an ancestor of the focused row actions links.

@rmccue rmccue added the Bug label Aug 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants