Skip to content

Commit 6825c72

Browse files
committed
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
1 parent 12f4c30 commit 6825c72

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/wp-admin/css/list-tables.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -877,8 +877,9 @@ p.pagenav {
877877
.row-actions {
878878
color: #ddd;
879879
font-size: 13px;
880-
visibility: hidden;
881880
padding: 2px 0 0;
881+
position: relative;
882+
left: -9999em;
882883
}
883884

884885
/* ticket #34150 */
@@ -891,11 +892,12 @@ p.pagenav {
891892
color: #000;
892893
}
893894

895+
.no-js .row-actions,
894896
tr:hover .row-actions,
895897
.mobile .row-actions,
896898
.row-actions.visible,
897899
div.comment-item:hover .row-actions {
898-
visibility: visible;
900+
position: static;
899901
}
900902

901903
/* deprecated */

0 commit comments

Comments
 (0)