Commit 977c409
committed
fix(a11y): add aria-labels to copy-to-clipboard buttons
The copy-to-clipboard buttons across the UI used empty <button/>
elements with no accessible label, making them invisible to screen
readers. This adds descriptive aria-label attributes to:
- cURL command copy button in curl.jsx
- Code highlight copy button in HighlightCode.jsx
- Request snippet copy button in request-snippets.jsx
Partially addresses #106991 parent 34d6186 commit 977c409
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- src/core
- components
- plugins
- request-snippets
- syntax-highlighting/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments