mirror of
https://github.com/docmost/docmost.git
synced 2026-08-25 15:57:11 +08:00
feat: include search results in the spotlight tab order
This commit is contained in:
@@ -50,3 +50,14 @@
|
||||
--action-description-color: var(--mantine-color-dimmed);
|
||||
--action-description-opacity: 1;
|
||||
}
|
||||
|
||||
/* Result actions are tab stops (tabIndex restored via ref); give keyboard
|
||||
* focus the same gray treatment as arrow-key selection so both navigation
|
||||
* modes read identically (WCAG 2.4.7 focus visible).
|
||||
*/
|
||||
.mantine-Spotlight-action:focus-visible {
|
||||
background-color: light-dark(
|
||||
var(--mantine-color-gray-1),
|
||||
var(--mantine-color-dark-5)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user