Commit 3ff5dc2
committed
Apply focus halo suppression to all PrimeVue buttons
The :focus:not(:focus-visible) rule was previously scoped only to
.icon-action-btn, so it only worked on the icon-only resend/trash
buttons in the workspace Members and project Collaborators tables.
Other invitation-related buttons (the labeled Resend pill on the
dashboard, the X on the dashboard, the labeled buttons in the
invitation sidebar) kept the lingering focus halo after a mouse click.
Move the rule out of .icon-action-btn and apply it globally to
.p-button. The :focus-visible exclusion still preserves the focus ring
for keyboard navigation, so accessibility is unaffected.1 parent cf44156 commit 3ff5dc2
1 file changed
Lines changed: 6 additions & 5 deletions
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
124 | 130 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments