Commit 526705c
authored
[A11y] Prevent hidden text when increasing text spacing (#8796)
Content in the Used By section gets incorrectly hidden when increasing the spacing in text. This fixes the accessibility bug by using `clamp.js` to clamp text. Note that this bug affects both the old and new designs, however, this fix only targets the redesign.
See WCAG 2.1 requirement: https://www.w3.org/TR/WCAG21/#text-spacing
Part of #87901 parent cd8eb6a commit 526705c
4 files changed
Lines changed: 24 additions & 28 deletions
File tree
- src
- Bootstrap
- dist/css
- less/theme
- NuGetGallery
- Scripts/gallery
- Views/Packages
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | 277 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 278 | | |
289 | 279 | | |
290 | 280 | | |
291 | 281 | | |
292 | 282 | | |
293 | 283 | | |
294 | 284 | | |
295 | | - | |
296 | 285 | | |
297 | 286 | | |
298 | 287 | | |
| |||
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
113 | 131 | | |
114 | 132 | | |
115 | 133 | | |
| |||
128 | 146 | | |
129 | 147 | | |
130 | 148 | | |
| 149 | + | |
| 150 | + | |
131 | 151 | | |
132 | 152 | | |
133 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
711 | | - | |
712 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
713 | 713 | | |
714 | | - | |
715 | | - | |
716 | | - | |
| 714 | + | |
717 | 715 | | |
718 | 716 | | |
719 | 717 | | |
| |||
0 commit comments