Commit 395867f
authored
[Fix Accessibility] Add focus-visible styles to Clipboard Copy button (#1716)
### Add focus-visible styles to clipboard copy button for improved
accessibility
- **Files Changed**
code.js
- **Summary**
This change adds proper focus-visible styling to the clipboard copy
button, providing a clear visual indicator when users navigate to the
button using keyboard controls while maintaining system-consistent focus
ring colors for better accessibility compliance.
## BEFORE
<img width="878" height="228" alt="image"
src="https://github.com/user-attachments/assets/a7c21e39-9003-4f63-9df7-071e17b1d763"
/>
## AFTER
<img width="851" height="232" alt="image"
src="https://github.com/user-attachments/assets/e59dede0-4dee-4d19-875b-60af30d3dac6"
/>1 parent c2ae6b5 commit 395867f
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
| |||
0 commit comments