mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
A11Y: fix setting focus to a post (#23367)
This is a second attempt to fix this issue. First fix at #23243, see PR for details.
This commit is contained in:
@@ -3,20 +3,22 @@
|
||||
border-left: 1px solid transparent;
|
||||
}
|
||||
|
||||
.topic-list tr.selected td:first-child,
|
||||
.topic-list-item.selected td:first-child,
|
||||
.topic-list tr.selected,
|
||||
.topic-list-item.selected,
|
||||
.latest-topic-list-item.selected,
|
||||
.search-results .fps-result.selected {
|
||||
box-shadow: inset 3px 0 0 var(--danger); // needs to be inset for Edge
|
||||
&:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.featured-topic.selected,
|
||||
.topic-post.selected {
|
||||
box-shadow: -3px 0 0 var(--danger);
|
||||
}
|
||||
|
||||
.tabLoc:focus {
|
||||
outline: none;
|
||||
&:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.latest .featured-topic {
|
||||
|
||||
Reference in New Issue
Block a user