@patternfly/patternfly 6.3.0-prerelease.64 → 6.3.0-prerelease.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -158,6 +158,12 @@
158
158
  .pf-v6-c-form-control > :is(input, select) {
159
159
  text-overflow: ellipsis;
160
160
  }
161
+ .pf-v6-c-form-control > select {
162
+ background-color: var(--pf-v6-c-form-control--BackgroundColor);
163
+ }
164
+ .pf-v6-c-form-control > select * {
165
+ color: var(--pf-v6-c-form-control--Color);
166
+ }
161
167
  .pf-v6-c-form-control:has(input) {
162
168
  --pf-v6-c-form-control--PaddingBlockStart: var(--pf-v6-c-form-control__input--PaddingBlockStart);
163
169
  --pf-v6-c-form-control--PaddingBlockEnd: var(--pf-v6-c-form-control__input--PaddingBlockEnd);
@@ -303,7 +309,6 @@
303
309
  --pf-v6-c-form-control--PaddingInlineStart: var(--pf-v6-c-form-control__select--PaddingInlineStart);
304
310
  --pf-v6-c-form-control--PaddingInlineEnd: calc(var(--pf-v6-c-form-control__select--PaddingInlineEnd) + var(--pf-v6-c-form-control__icon--FontSize));
305
311
  --pf-v6-c-form-control__utilities--PaddingInlineEnd: var(--pf-v6-c-form-control__utilities--select--PaddingInlineEnd);
306
- background-color: var(--pf-v6-c-form-control--BackgroundColor);
307
312
  }
308
313
  .pf-v6-c-form-control:has(select) .pf-v6-c-form-control__utilities {
309
314
  padding-inline-end: var(--pf-v6-c-form-control__utilities--select--PaddingInlineEnd);
@@ -205,6 +205,14 @@
205
205
  text-overflow: ellipsis;
206
206
  }
207
207
 
208
+ > select {
209
+ background-color: var(--#{$form-control}--BackgroundColor); // needed for OS/browser combos where dark theme styles aren't applied properly. DO NOT REMOVE!
210
+
211
+ * {
212
+ color: var(--#{$form-control}--Color); // needed for OS/browser combos where dark theme styles aren't applied properly. DO NOT REMOVE!
213
+ }
214
+ }
215
+
208
216
  @at-root .#{$form-control} {
209
217
  &:has(input) {
210
218
  --#{$form-control}--PaddingBlockStart: var(--#{$form-control}__input--PaddingBlockStart);
@@ -393,9 +401,6 @@
393
401
  --#{$form-control}--PaddingInlineEnd: calc(var(--#{$form-control}__select--PaddingInlineEnd) - 1px);
394
402
  --#{$form-control}--PaddingInlineStart: calc(var(--#{$form-control}__select--PaddingInlineStart) - 4px);
395
403
  }
396
-
397
- // We need this property for certain Linux distros/non-Mac OS where dark theme styles aren't applied properly.
398
- background-color: var(--#{$form-control}--BackgroundColor);
399
404
  }
400
405
 
401
406
  &.pf-m-placeholder > select {
@@ -7588,6 +7588,12 @@ ul) {
7588
7588
  .pf-v6-c-form-control > :is(input, select) {
7589
7589
  text-overflow: ellipsis;
7590
7590
  }
7591
+ .pf-v6-c-form-control > select {
7592
+ background-color: var(--pf-v6-c-form-control--BackgroundColor);
7593
+ }
7594
+ .pf-v6-c-form-control > select * {
7595
+ color: var(--pf-v6-c-form-control--Color);
7596
+ }
7591
7597
  .pf-v6-c-form-control:has(input) {
7592
7598
  --pf-v6-c-form-control--PaddingBlockStart: var(--pf-v6-c-form-control__input--PaddingBlockStart);
7593
7599
  --pf-v6-c-form-control--PaddingBlockEnd: var(--pf-v6-c-form-control__input--PaddingBlockEnd);
@@ -7733,7 +7739,6 @@ ul) {
7733
7739
  --pf-v6-c-form-control--PaddingInlineStart: var(--pf-v6-c-form-control__select--PaddingInlineStart);
7734
7740
  --pf-v6-c-form-control--PaddingInlineEnd: calc(var(--pf-v6-c-form-control__select--PaddingInlineEnd) + var(--pf-v6-c-form-control__icon--FontSize));
7735
7741
  --pf-v6-c-form-control__utilities--PaddingInlineEnd: var(--pf-v6-c-form-control__utilities--select--PaddingInlineEnd);
7736
- background-color: var(--pf-v6-c-form-control--BackgroundColor);
7737
7742
  }
7738
7743
  .pf-v6-c-form-control:has(select) .pf-v6-c-form-control__utilities {
7739
7744
  padding-inline-end: var(--pf-v6-c-form-control__utilities--select--PaddingInlineEnd);
@@ -500,7 +500,7 @@ cssPrefix: pf-v6-c-clipboard-copy
500
500
  ```html
501
501
  <div class="pf-v6-c-clipboard-copy pf-m-inline pf-m-truncate">
502
502
  <span class="pf-v6-c-clipboard-copy__text">
503
- <span class="pf-v6-c-truncate">
503
+ <span class="pf-v6-c-truncate" tabindex="0">
504
504
  <span
505
505
  class="pf-v6-c-truncate__start"
506
506
  >This lengthy, copyable content will be truncated with default settings when the truncation prop is simply set to true. This is useful for quickly applying truncation without needing to worry about any other properties to set.</span>
@@ -1885,6 +1885,7 @@ When a list item includes more than one block of content, it can be difficult fo
1885
1885
  </div>
1886
1886
  <div
1887
1887
  class="pf-v6-c-data-list__cell pf-m-truncate"
1888
+ tabindex="0"
1888
1889
  >This text will truncate because it is very very long.</div>
1889
1890
  <div
1890
1891
  class="pf-v6-c-data-list__cell pf-m-break-word"
@@ -1898,15 +1899,19 @@ When a list item includes more than one block of content, it can be difficult fo
1898
1899
  <div class="pf-v6-c-data-list__item-content">
1899
1900
  <div
1900
1901
  class="pf-v6-c-data-list__cell"
1902
+ tabindex="0"
1901
1903
  >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1902
1904
  <div
1903
1905
  class="pf-v6-c-data-list__cell"
1906
+ tabindex="0"
1904
1907
  >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1905
1908
  <div
1906
1909
  class="pf-v6-c-data-list__cell"
1910
+ tabindex="0"
1907
1911
  >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1908
1912
  <div
1909
1913
  class="pf-v6-c-data-list__cell"
1914
+ tabindex="0"
1910
1915
  >This text will truncate because it is very very long. This text will truncate because it is very very long.</div>
1911
1916
  </div>
1912
1917
  </div>
@@ -1957,6 +1962,7 @@ When a list item includes more than one block of content, it can be difficult fo
1957
1962
  >This text will wrap to the next line because it has the default behavior of the data list cell.</span>
1958
1963
  <span
1959
1964
  class="pf-v6-c-data-list__text pf-m-truncate"
1965
+ tabindex="0"
1960
1966
  >This is data list text, you can apply `pf-m-truncate` directly to the text. This is data list text, you can apply `pf-m-truncate` directly to the text.</span>
1961
1967
  </div>
1962
1968
  <div class="pf-v6-c-data-list__cell">
@@ -285,16 +285,6 @@ extra large
285
285
  <span class="pf-v6-c-icon__content">
286
286
  <i class="fas fa-check-circle" aria-hidden="true"></i>
287
287
  </span>
288
- <span class="pf-v6-c-icon__progress">
289
- <svg
290
- class="pf-v6-c-spinner pf-m-md"
291
- role="progressbar"
292
- viewBox="0 0 100 100"
293
- aria-label="Loading..."
294
- >
295
- <circle class="pf-v6-c-spinner__path" cx="50" cy="50" r="45" fill="none" />
296
- </svg>
297
- </span>
298
288
  </span>
299
289
 
300
290
  ```
@@ -7,8 +7,12 @@ cssPrefix: pf-v6-c-jump-links
7
7
  ### Horizontal default
8
8
 
9
9
  ```html
10
- <nav class="pf-v6-c-jump-links">
11
- <ul class="pf-v6-c-jump-links__list" role="list">
10
+ <nav class="pf-v6-c-jump-links" aria-label="Horizontal default example">
11
+ <ul
12
+ class="pf-v6-c-jump-links__list"
13
+ role="list"
14
+ aria-label="Horizontal default example"
15
+ >
12
16
  <li class="pf-v6-c-jump-links__item">
13
17
  <span class="pf-v6-c-jump-links__link">
14
18
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -18,7 +22,7 @@ cssPrefix: pf-v6-c-jump-links
18
22
  </a>
19
23
  </span>
20
24
  </li>
21
- <li class="pf-v6-c-jump-links__item pf-m-current">
25
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
22
26
  <span class="pf-v6-c-jump-links__link">
23
27
  <a class="pf-v6-c-button pf-m-link" href="#">
24
28
  <span class="pf-v6-c-button__text">
@@ -44,8 +48,15 @@ cssPrefix: pf-v6-c-jump-links
44
48
  ### Horizontal with centered list
45
49
 
46
50
  ```html
47
- <nav class="pf-v6-c-jump-links pf-m-center">
48
- <ul class="pf-v6-c-jump-links__list" role="list">
51
+ <nav
52
+ class="pf-v6-c-jump-links pf-m-center"
53
+ aria-label="Horizontal with centered list example"
54
+ >
55
+ <ul
56
+ class="pf-v6-c-jump-links__list"
57
+ role="list"
58
+ aria-label="Horizontal with centered list example"
59
+ >
49
60
  <li class="pf-v6-c-jump-links__item">
50
61
  <span class="pf-v6-c-jump-links__link">
51
62
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -55,7 +66,7 @@ cssPrefix: pf-v6-c-jump-links
55
66
  </a>
56
67
  </span>
57
68
  </li>
58
- <li class="pf-v6-c-jump-links__item pf-m-current">
69
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
59
70
  <span class="pf-v6-c-jump-links__link">
60
71
  <a class="pf-v6-c-button pf-m-link" href="#">
61
72
  <span class="pf-v6-c-button__text">
@@ -81,12 +92,21 @@ cssPrefix: pf-v6-c-jump-links
81
92
  ### Horizontal with label
82
93
 
83
94
  ```html
84
- <nav class="pf-v6-c-jump-links" aria-label="Jump to section">
95
+ <nav class="pf-v6-c-jump-links" aria-label="Horizontal with label example">
85
96
  <div class="pf-v6-c-jump-links__main">
86
- <div class="pf-v6-c-jump-links__header">
87
- <div class="pf-v6-c-jump-links__label">Jump to section</div>
97
+ <div
98
+ class="pf-v6-c-jump-links__header"
99
+ id="horizontal-with-label-header-one"
100
+ >
101
+ <div
102
+ class="pf-v6-c-jump-links__label"
103
+ >Jump to horizontal with label example sections one</div>
88
104
  </div>
89
- <ul class="pf-v6-c-jump-links__list" role="list">
105
+ <ul
106
+ class="pf-v6-c-jump-links__list"
107
+ role="list"
108
+ aria-labelledby="horizontal-with-label-header-one"
109
+ >
90
110
  <li class="pf-v6-c-jump-links__item">
91
111
  <span class="pf-v6-c-jump-links__link">
92
112
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -96,7 +116,7 @@ cssPrefix: pf-v6-c-jump-links
96
116
  </a>
97
117
  </span>
98
118
  </li>
99
- <li class="pf-v6-c-jump-links__item pf-m-current">
119
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
100
120
  <span class="pf-v6-c-jump-links__link">
101
121
  <a class="pf-v6-c-button pf-m-link" href="#">
102
122
  <span class="pf-v6-c-button__text">
@@ -118,12 +138,24 @@ cssPrefix: pf-v6-c-jump-links
118
138
  </div>
119
139
  </nav>
120
140
  <br />
121
- <nav class="pf-v6-c-jump-links pf-m-center" aria-label="Jump to section">
141
+ <nav
142
+ class="pf-v6-c-jump-links pf-m-center"
143
+ aria-label="Horizontal with label second example"
144
+ >
122
145
  <div class="pf-v6-c-jump-links__main">
123
- <div class="pf-v6-c-jump-links__header">
124
- <div class="pf-v6-c-jump-links__label">Jump to section</div>
146
+ <div
147
+ class="pf-v6-c-jump-links__header"
148
+ id="horizontal-with-label-header-two"
149
+ >
150
+ <div
151
+ class="pf-v6-c-jump-links__label"
152
+ >Jump to horizontal with label example sections two</div>
125
153
  </div>
126
- <ul class="pf-v6-c-jump-links__list" role="list">
154
+ <ul
155
+ class="pf-v6-c-jump-links__list"
156
+ role="list"
157
+ aria-labelledby="horizontal-with-label-header-two"
158
+ >
127
159
  <li class="pf-v6-c-jump-links__item">
128
160
  <span class="pf-v6-c-jump-links__link">
129
161
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -133,7 +165,7 @@ cssPrefix: pf-v6-c-jump-links
133
165
  </a>
134
166
  </span>
135
167
  </li>
136
- <li class="pf-v6-c-jump-links__item pf-m-current">
168
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
137
169
  <span class="pf-v6-c-jump-links__link">
138
170
  <a class="pf-v6-c-button pf-m-link" href="#">
139
171
  <span class="pf-v6-c-button__text">
@@ -160,8 +192,15 @@ cssPrefix: pf-v6-c-jump-links
160
192
  ### Vertical default
161
193
 
162
194
  ```html
163
- <nav class="pf-v6-c-jump-links pf-m-vertical">
164
- <ul class="pf-v6-c-jump-links__list" role="list">
195
+ <nav
196
+ class="pf-v6-c-jump-links pf-m-vertical"
197
+ aria-label="Vertical default example"
198
+ >
199
+ <ul
200
+ class="pf-v6-c-jump-links__list"
201
+ role="list"
202
+ aria-label="Vertical default example"
203
+ >
165
204
  <li class="pf-v6-c-jump-links__item">
166
205
  <span class="pf-v6-c-jump-links__link">
167
206
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -171,7 +210,7 @@ cssPrefix: pf-v6-c-jump-links
171
210
  </a>
172
211
  </span>
173
212
  </li>
174
- <li class="pf-v6-c-jump-links__item pf-m-current">
213
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
175
214
  <span class="pf-v6-c-jump-links__link">
176
215
  <a class="pf-v6-c-button pf-m-link" href="#">
177
216
  <span class="pf-v6-c-button__text">
@@ -215,11 +254,20 @@ cssPrefix: pf-v6-c-jump-links
215
254
  ### Vertical with label
216
255
 
217
256
  ```html
218
- <nav class="pf-v6-c-jump-links pf-m-vertical" aria-label="Jump to section">
219
- <div class="pf-v6-c-jump-links__header">
220
- <div class="pf-v6-c-jump-links__label">Jump to section</div>
257
+ <nav
258
+ class="pf-v6-c-jump-links pf-m-vertical"
259
+ aria-label="Vertical with label example"
260
+ >
261
+ <div class="pf-v6-c-jump-links__header" id="vertical-with-label-header">
262
+ <div
263
+ class="pf-v6-c-jump-links__label"
264
+ >Jump to vertical with label example sections</div>
221
265
  </div>
222
- <ul class="pf-v6-c-jump-links__list" role="list">
266
+ <ul
267
+ class="pf-v6-c-jump-links__list"
268
+ role="list"
269
+ aria-labelledby="vertical-with-label-header"
270
+ >
223
271
  <li class="pf-v6-c-jump-links__item">
224
272
  <span class="pf-v6-c-jump-links__link">
225
273
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -229,7 +277,7 @@ cssPrefix: pf-v6-c-jump-links
229
277
  </a>
230
278
  </span>
231
279
  </li>
232
- <li class="pf-v6-c-jump-links__item pf-m-current">
280
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
233
281
  <span class="pf-v6-c-jump-links__link">
234
282
  <a class="pf-v6-c-button pf-m-link" href="#">
235
283
  <span class="pf-v6-c-button__text">
@@ -273,12 +321,24 @@ cssPrefix: pf-v6-c-jump-links
273
321
  ### Vertical with inactive subsections
274
322
 
275
323
  ```html
276
- <nav class="pf-v6-c-jump-links pf-m-vertical" aria-label="Jump to section">
277
- <div class="pf-v6-c-jump-links__header">
278
- <div class="pf-v6-c-jump-links__label">Jump to section</div>
324
+ <nav
325
+ class="pf-v6-c-jump-links pf-m-vertical"
326
+ aria-label="Vertical with inactive subsections example"
327
+ >
328
+ <div
329
+ class="pf-v6-c-jump-links__header"
330
+ id="vertical-with-inactive-subsections-header"
331
+ >
332
+ <div
333
+ class="pf-v6-c-jump-links__label"
334
+ >Jump to vertical with inactive subsections example sections</div>
279
335
  </div>
280
- <ul class="pf-v6-c-jump-links__list" role="list">
281
- <li class="pf-v6-c-jump-links__item pf-m-current">
336
+ <ul
337
+ class="pf-v6-c-jump-links__list"
338
+ role="list"
339
+ aria-labelledby="vertical-with-inactive-subsections-header"
340
+ >
341
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
282
342
  <span class="pf-v6-c-jump-links__link">
283
343
  <a class="pf-v6-c-button pf-m-link" href="#">
284
344
  <span class="pf-v6-c-button__text">
@@ -304,7 +364,11 @@ cssPrefix: pf-v6-c-jump-links
304
364
  </span>
305
365
  </a>
306
366
  </span>
307
- <ul class="pf-v6-c-jump-links__list" role="list">
367
+ <ul
368
+ class="pf-v6-c-jump-links__list"
369
+ role="list"
370
+ aria-label="Second inactive subsection"
371
+ >
308
372
  <li class="pf-v6-c-jump-links__item">
309
373
  <span class="pf-v6-c-jump-links__link">
310
374
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -351,11 +415,23 @@ cssPrefix: pf-v6-c-jump-links
351
415
  ### Vertical with active subsections
352
416
 
353
417
  ```html
354
- <nav class="pf-v6-c-jump-links pf-m-vertical" aria-label="Jump to section">
355
- <div class="pf-v6-c-jump-links__header">
356
- <div class="pf-v6-c-jump-links__label">Jump to section</div>
418
+ <nav
419
+ class="pf-v6-c-jump-links pf-m-vertical"
420
+ aria-label="Vertical with active subsections example"
421
+ >
422
+ <div
423
+ class="pf-v6-c-jump-links__header"
424
+ id="vertical-with-active-subsections-header"
425
+ >
426
+ <div
427
+ class="pf-v6-c-jump-links__label"
428
+ >Jump to vertical with active subsections example sections</div>
357
429
  </div>
358
- <ul class="pf-v6-c-jump-links__list" role="list">
430
+ <ul
431
+ class="pf-v6-c-jump-links__list"
432
+ role="list"
433
+ aria-labelledby="vertical-with-active-subsections-header"
434
+ >
359
435
  <li class="pf-v6-c-jump-links__item">
360
436
  <span class="pf-v6-c-jump-links__link">
361
437
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -382,8 +458,15 @@ cssPrefix: pf-v6-c-jump-links
382
458
  </span>
383
459
  </a>
384
460
  </span>
385
- <ul class="pf-v6-c-jump-links__list" role="list">
386
- <li class="pf-v6-c-jump-links__item pf-m-current">
461
+ <ul
462
+ class="pf-v6-c-jump-links__list"
463
+ role="list"
464
+ aria-label="Second active subsection"
465
+ >
466
+ <li
467
+ class="pf-v6-c-jump-links__item pf-m-current"
468
+ aria-current="location"
469
+ >
387
470
  <span class="pf-v6-c-jump-links__link">
388
471
  <a class="pf-v6-c-button pf-m-link" href="#">
389
472
  <span class="pf-v6-c-button__text">
@@ -431,26 +514,26 @@ cssPrefix: pf-v6-c-jump-links
431
514
  ```html
432
515
  <nav
433
516
  class="pf-v6-c-jump-links pf-m-vertical pf-m-expandable"
434
- aria-label="Jump to section"
517
+ aria-label="Expandable example"
435
518
  >
436
- <div class="pf-v6-c-jump-links__header">
519
+ <div class="pf-v6-c-jump-links__header" id="expandable-header-header">
437
520
  <div class="pf-v6-c-jump-links__toggle">
438
- <button
439
- class="pf-v6-c-button pf-m-plain"
440
- type="button"
441
- aria-label="Toggle jump links"
442
- >
521
+ <button class="pf-v6-c-button pf-m-plain" type="button">
443
522
  <span class="pf-v6-c-button__icon pf-m-start">
444
523
  <span class="pf-v6-c-jump-links__toggle-icon">
445
524
  <i class="fas fa-angle-right" aria-hidden="true"></i>
446
525
  </span>
447
526
  </span>
448
- <span class="pf-v6-c-button__text">Jump to section</span>
527
+ <span class="pf-v6-c-button__text">Jump to expandable example sections</span>
449
528
  </button>
450
529
  </div>
451
- <div class="pf-v6-c-jump-links__label">Jump to section</div>
530
+ <div class="pf-v6-c-jump-links__label">Jump to expandable example sections</div>
452
531
  </div>
453
- <ul class="pf-v6-c-jump-links__list" role="list">
532
+ <ul
533
+ class="pf-v6-c-jump-links__list"
534
+ role="list"
535
+ aria-labelledby="expandable-header-header"
536
+ >
454
537
  <li class="pf-v6-c-jump-links__item">
455
538
  <span class="pf-v6-c-jump-links__link">
456
539
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -460,7 +543,7 @@ cssPrefix: pf-v6-c-jump-links
460
543
  </a>
461
544
  </span>
462
545
  </li>
463
- <li class="pf-v6-c-jump-links__item pf-m-current">
546
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
464
547
  <span class="pf-v6-c-jump-links__link">
465
548
  <a class="pf-v6-c-button pf-m-link" href="#">
466
549
  <span class="pf-v6-c-button__text">
@@ -506,27 +589,26 @@ cssPrefix: pf-v6-c-jump-links
506
589
  ```html
507
590
  <nav
508
591
  class="pf-v6-c-jump-links pf-m-vertical pf-m-expandable pf-m-expanded"
509
- aria-label="Jump to section"
592
+ aria-label="Expanded example"
510
593
  >
511
- <div class="pf-v6-c-jump-links__header">
594
+ <div class="pf-v6-c-jump-links__header" id="expanded-header">
512
595
  <div class="pf-v6-c-jump-links__toggle">
513
- <button
514
- class="pf-v6-c-button pf-m-plain"
515
- type="button"
516
- aria-expanded="true"
517
- aria-label="Toggle jump links"
518
- >
596
+ <button class="pf-v6-c-button pf-m-plain" type="button">
519
597
  <span class="pf-v6-c-button__icon pf-m-start">
520
598
  <span class="pf-v6-c-jump-links__toggle-icon">
521
599
  <i class="fas fa-angle-right" aria-hidden="true"></i>
522
600
  </span>
523
601
  </span>
524
- <span class="pf-v6-c-button__text">Jump to section</span>
602
+ <span class="pf-v6-c-button__text">Jump to expanded example sections</span>
525
603
  </button>
526
604
  </div>
527
- <div class="pf-v6-c-jump-links__label">Jump to section</div>
605
+ <div class="pf-v6-c-jump-links__label">Jump to expanded example sections</div>
528
606
  </div>
529
- <ul class="pf-v6-c-jump-links__list" role="list">
607
+ <ul
608
+ class="pf-v6-c-jump-links__list"
609
+ role="list"
610
+ aria-labelledby="expanded-header"
611
+ >
530
612
  <li class="pf-v6-c-jump-links__item">
531
613
  <span class="pf-v6-c-jump-links__link">
532
614
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -536,7 +618,7 @@ cssPrefix: pf-v6-c-jump-links
536
618
  </a>
537
619
  </span>
538
620
  </li>
539
- <li class="pf-v6-c-jump-links__item pf-m-current">
621
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
540
622
  <span class="pf-v6-c-jump-links__link">
541
623
  <a class="pf-v6-c-button pf-m-link" href="#">
542
624
  <span class="pf-v6-c-button__text">
@@ -582,26 +664,30 @@ cssPrefix: pf-v6-c-jump-links
582
664
  ```html
583
665
  <nav
584
666
  class="pf-v6-c-jump-links pf-m-vertical pf-m-non-expandable-on-md pf-m-expandable-on-lg pf-m-non-expandable-on-xl pf-m-expandable"
585
- aria-label="Jump to section"
667
+ aria-label="Expandable responsive"
586
668
  >
587
- <div class="pf-v6-c-jump-links__header">
669
+ <div class="pf-v6-c-jump-links__header" id="expandable-responsive-header">
588
670
  <div class="pf-v6-c-jump-links__toggle">
589
- <button
590
- class="pf-v6-c-button pf-m-plain"
591
- type="button"
592
- aria-label="Toggle jump links"
593
- >
671
+ <button class="pf-v6-c-button pf-m-plain" type="button">
594
672
  <span class="pf-v6-c-button__icon pf-m-start">
595
673
  <span class="pf-v6-c-jump-links__toggle-icon">
596
674
  <i class="fas fa-angle-right" aria-hidden="true"></i>
597
675
  </span>
598
676
  </span>
599
- <span class="pf-v6-c-button__text">Jump to section</span>
677
+ <span
678
+ class="pf-v6-c-button__text"
679
+ >Jump to expandable responsive example sections</span>
600
680
  </button>
601
681
  </div>
602
- <div class="pf-v6-c-jump-links__label">Jump to section</div>
682
+ <div
683
+ class="pf-v6-c-jump-links__label"
684
+ >Jump to expandable responsive example sections</div>
603
685
  </div>
604
- <ul class="pf-v6-c-jump-links__list" role="list">
686
+ <ul
687
+ class="pf-v6-c-jump-links__list"
688
+ role="list"
689
+ aria-labelledby="expandable-responsive-header"
690
+ >
605
691
  <li class="pf-v6-c-jump-links__item">
606
692
  <span class="pf-v6-c-jump-links__link">
607
693
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -611,7 +697,7 @@ cssPrefix: pf-v6-c-jump-links
611
697
  </a>
612
698
  </span>
613
699
  </li>
614
- <li class="pf-v6-c-jump-links__item pf-m-current">
700
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
615
701
  <span class="pf-v6-c-jump-links__link">
616
702
  <a class="pf-v6-c-button pf-m-link" href="#">
617
703
  <span class="pf-v6-c-button__text">
@@ -657,14 +743,11 @@ cssPrefix: pf-v6-c-jump-links
657
743
  ```html
658
744
  <nav
659
745
  class="pf-v6-c-jump-links pf-m-vertical pf-m-non-expandable-on-md pf-m-expandable-on-lg pf-m-non-expandable-on-xl pf-m-expandable"
746
+ aria-label="Expandable responsive with no label"
660
747
  >
661
748
  <div class="pf-v6-c-jump-links__header">
662
749
  <div class="pf-v6-c-jump-links__toggle">
663
- <button
664
- class="pf-v6-c-button pf-m-plain"
665
- type="button"
666
- aria-label="Toggle jump links"
667
- >
750
+ <button class="pf-v6-c-button pf-m-plain" type="button">
668
751
  <span class="pf-v6-c-button__icon pf-m-start">
669
752
  <span class="pf-v6-c-jump-links__toggle-icon">
670
753
  <i class="fas fa-angle-right" aria-hidden="true"></i>
@@ -674,7 +757,11 @@ cssPrefix: pf-v6-c-jump-links
674
757
  </button>
675
758
  </div>
676
759
  </div>
677
- <ul class="pf-v6-c-jump-links__list" role="list">
760
+ <ul
761
+ class="pf-v6-c-jump-links__list"
762
+ role="list"
763
+ aria-label="Expandable responsive with no label example"
764
+ >
678
765
  <li class="pf-v6-c-jump-links__item">
679
766
  <span class="pf-v6-c-jump-links__link">
680
767
  <a class="pf-v6-c-button pf-m-link" href="#">
@@ -684,7 +771,7 @@ cssPrefix: pf-v6-c-jump-links
684
771
  </a>
685
772
  </span>
686
773
  </li>
687
- <li class="pf-v6-c-jump-links__item pf-m-current">
774
+ <li class="pf-v6-c-jump-links__item pf-m-current" aria-current="location">
688
775
  <span class="pf-v6-c-jump-links__link">
689
776
  <a class="pf-v6-c-button pf-m-link" href="#">
690
777
  <span class="pf-v6-c-button__text">
@@ -336,6 +336,7 @@ cssPrefix: pf-v6-c-progress
336
336
  <div
337
337
  class="pf-v6-c-progress__description pf-m-truncate"
338
338
  id="progress-truncate-description-example-description"
339
+ tabindex="0"
339
340
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean quis ultricies lectus, eu lobortis mauris. Morbi pretium arcu id rhoncus mollis. Donec accumsan tincidunt enim nec varius. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Suspendisse potenti.</div>
340
341
  <div class="pf-v6-c-progress__status" aria-hidden="true">
341
342
  <span class="pf-v6-c-progress__measure">33%</span>
@@ -425,7 +426,7 @@ If the status that displays with the bar is not a percentage, then the ARIA tag
425
426
  When conveying status, you should ensure:
426
427
 
427
428
  * There is visible helper text that explains the status.
428
- * The helper text includes the status icon, as seen in our [basic helper text example](/components/helper-text/html#basic).
429
+ * The helper text includes the status icon, as seen in our HTML [helper text component](/components/helper-text).
429
430
  * The helper text is linked to the `.pf-v6-c-progress__bar[role="progressbar"]` element via an `aria-describedby` attribute, as seen in the [progress helper text example](#helper-text).
430
431
 
431
432
  ### Success
@@ -8,13 +8,15 @@ cssPrefix: pf-v6-c-truncate
8
8
 
9
9
  The default behavior of the truncate component is to truncate based on whether the content can fit within the width of its parent container, and to prevent text from wrapping. The following examples that use this default behavior render the truncate component inside a resizable container, allowing you to see how the parent container width affects the truncation.
10
10
 
11
+ Note that when content is truncated, a tabindex of 0 should also be added to the element to ensure it remains accessible. The examples below however, add a tabindex in both cases as the content is static.
12
+
11
13
  ### Default
12
14
 
13
15
  When only the `.pf-v6-c-truncate__start` element is used, truncation will occur at the end of the string.
14
16
 
15
17
  ```html
16
18
  <div class="pf-v6-c-truncate--example">
17
- <span class="pf-v6-c-truncate">
19
+ <span class="pf-v6-c-truncate" tabindex="0">
18
20
  <span
19
21
  class="pf-v6-c-truncate__start"
20
22
  >redhat_logo_black_and_white_reversed_simple_with_fedora_container.zip</span>
@@ -29,7 +31,7 @@ When both `.pf-v6-c-truncate__start` and `.pf-v6-c-truncate__end` elements are u
29
31
 
30
32
  ```html
31
33
  <div class="pf-v6-c-truncate--example">
32
- <span class="pf-v6-c-truncate">
34
+ <span class="pf-v6-c-truncate" tabindex="0">
33
35
  <span
34
36
  class="pf-v6-c-truncate__start"
35
37
  >redhat_logo_black_and_white_reversed_simple_</span>
@@ -45,7 +47,7 @@ When only the `.pf-v6-c-truncate__end` element is used, truncation will occur at
45
47
 
46
48
  ```html
47
49
  <div class="pf-v6-c-truncate--example">
48
- <span class="pf-v6-c-truncate">
50
+ <span class="pf-v6-c-truncate" tabindex="0">
49
51
  <span
50
52
  class="pf-v6-c-truncate__end"
51
53
  >redhat_logo_black_and_white_reversed_simple_with_fedora_container.zip</span>
@@ -60,7 +62,7 @@ Apply the `.pf-m-fixed` class to the `.pf-v6-c-truncate` element to implement tr
60
62
 
61
63
  ```html
62
64
  <div>Truncated at end position:</div>
63
- <span class="pf-v6-c-truncate pf-m-fixed">
65
+ <span class="pf-v6-c-truncate pf-m-fixed" tabindex="0">
64
66
  <span
65
67
  class="pf-v6-c-truncate__text"
66
68
  >redhat_logo_black_and_white_reversed_simple_with_</span>
@@ -70,7 +72,7 @@ Apply the `.pf-m-fixed` class to the `.pf-v6-c-truncate` element to implement tr
70
72
  <br />
71
73
  <br />
72
74
  <div>Truncated at middle position:</div>
73
- <span class="pf-v6-c-truncate pf-m-fixed">
75
+ <span class="pf-v6-c-truncate pf-m-fixed" tabindex="0">
74
76
  <span class="pf-v6-c-truncate__text">redhat_logo_black_and_</span>
75
77
  <span class="pf-v6-screen-reader">white_reversed_simple_with_</span>
76
78
 
@@ -80,7 +82,7 @@ Apply the `.pf-m-fixed` class to the `.pf-v6-c-truncate` element to implement tr
80
82
  <br />
81
83
  <br />
82
84
  <div>Truncated at start position:</div>
83
- <span class="pf-v6-c-truncate pf-m-fixed">
85
+ <span class="pf-v6-c-truncate pf-m-fixed" tabindex="0">
84
86
  <span class="pf-v6-screen-reader">redhat_logo_black_</span>
85
87
 
86
88
  <span class="pf-v6-c-truncate__omission" aria-hidden="true">&hellip;</span>