Make comment screen row actions focusable

In [34504], tabbing through row actions on comments that lacked links was broken. This restores the desired behavior and ensures that the row actions can be seen by no-js users.

Second Permanent Committer sign off was by WonderBoyMusic

See #15520
Fixes #34791
Props afercia, azaozz



git-svn-id: https://develop.svn.wordpress.org/trunk@35771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2015-12-04 23:12:57 +00:00
parent 12f4c30551
commit 6825c7226e

View File

@ -877,8 +877,9 @@ p.pagenav {
.row-actions { .row-actions {
color: #ddd; color: #ddd;
font-size: 13px; font-size: 13px;
visibility: hidden;
padding: 2px 0 0; padding: 2px 0 0;
position: relative;
left: -9999em;
} }
/* ticket #34150 */ /* ticket #34150 */
@ -891,11 +892,12 @@ p.pagenav {
color: #000; color: #000;
} }
.no-js .row-actions,
tr:hover .row-actions, tr:hover .row-actions,
.mobile .row-actions, .mobile .row-actions,
.row-actions.visible, .row-actions.visible,
div.comment-item:hover .row-actions { div.comment-item:hover .row-actions {
visibility: visible; position: static;
} }
/* deprecated */ /* deprecated */