فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
fix(a11y): visible keyboard focus rings for navigation, actions and form controls
davoodmehraban89 committed
Oct 30, 2026 at 23:20 UTC
b84b9d79b91414b7783cd7cd6710fb857381af86
1 file changed
+10
src/styles/main.css
+10
@@ -50,6 +50,16 @@ button { cursor: pointer; font-family: inherit; }
50
input, select, textarea { font-family: inherit; font-size: inherit; }
51
a { color: inherit; }
52
53
+/* Keyboard users must always be able to identify the focused action.
54
+ Visible only for keyboard-type focus, not ordinary pointer interaction. */
55
+:where(button, a[href], input, select, textarea, [role="button"]):focus-visible {
56
+ outline: 3px solid var(--primary);
57
+ outline-offset: 3px;
58
+}
59
+:where(button, a[href], [role="button"])[disabled] {
60
+ cursor: not-allowed;
61
+}
62
+
63
/* Splash */
64
#splash {
65
position: fixed; inset: 0;