@patternfly/patternfly 5.1.0-prerelease.4 → 6.0.0-alpha.1

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.
Files changed (51) hide show
  1. package/CODE_OF_CONDUCT.md +2 -1
  2. package/components/DataList/data-list-grid.css +0 -28
  3. package/components/DataList/data-list.css +0 -28
  4. package/components/FormControl/form-control.css +3 -2
  5. package/components/FormControl/form-control.scss +3 -2
  6. package/components/NumberInput/number-input.css +1 -1
  7. package/components/Pagination/pagination.css +1 -1
  8. package/components/Table/table-grid.css +0 -24
  9. package/docs/components/AppLauncher/deprecated/application-launcher.md +155 -70
  10. package/docs/components/Breadcrumb/examples/Breadcrumb.md +11 -5
  11. package/docs/components/Card/examples/Card.md +152 -64
  12. package/docs/components/ContextSelector/deprecated/context-selector.md +198 -96
  13. package/docs/components/DataList/examples/DataList.md +391 -136
  14. package/docs/components/Dropdown/deprecated/Dropdown.md +881 -367
  15. package/docs/components/DualListSelector/examples/DualListSelector.md +368 -128
  16. package/docs/components/FormControl/examples/FormControl.md +2 -1
  17. package/docs/components/Hint/examples/Hint.md +57 -24
  18. package/docs/components/InlineEdit/examples/InlineEdit.md +46 -16
  19. package/docs/components/LogViewer/examples/LogViewer.md +40 -30
  20. package/docs/components/Menu/examples/Menu.md +41 -20
  21. package/docs/components/MenuToggle/examples/MenuToggle.md +1 -1
  22. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +619 -240
  23. package/docs/components/OptionsMenu/deprecated/options-menu.md +403 -160
  24. package/docs/components/OverflowMenu/examples/overflow-menu.md +45 -34
  25. package/docs/components/Pagination/examples/Pagination.md +195 -65
  26. package/docs/components/ProgressStepper/examples/ProgressStepper.md +50 -0
  27. package/docs/components/Select/deprecated/Select.css +3 -3
  28. package/docs/components/Select/deprecated/Select.md +40 -52
  29. package/docs/components/Table/examples/Table.md +4546 -1668
  30. package/docs/components/Tabs/examples/Tabs.md +1094 -438
  31. package/docs/components/Toolbar/examples/Toolbar.md +142 -68
  32. package/docs/components/TreeView/examples/TreeView.md +23 -8
  33. package/docs/demos/Card/examples/Card.md +46 -21
  34. package/docs/demos/CardView/examples/CardView.md +182 -74
  35. package/docs/demos/ContextSelector/examples/ContextSelector.md +95 -47
  36. package/docs/demos/Dashboard/examples/Dashboard.md +15 -6
  37. package/docs/demos/DataList/examples/DataList.md +163 -70
  38. package/docs/demos/DescriptionList/examples/DescriptionList.md +20 -9
  39. package/docs/demos/Drawer/examples/Drawer.md +20 -9
  40. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +803 -338
  41. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +241 -101
  42. package/docs/demos/Table/examples/Table.md +1422 -607
  43. package/docs/demos/Tabs/examples/Tabs.md +113 -48
  44. package/docs/demos/Toolbar/examples/Toolbar.md +318 -123
  45. package/package.json +39 -38
  46. package/patternfly-no-globals.css +4 -55
  47. package/patternfly-theme-dark-unversioned.css +4 -55
  48. package/patternfly.css +4 -55
  49. package/patternfly.min.css +1 -1
  50. package/patternfly.min.css.map +1 -1
  51. package/sass-utilities/placeholders.scss +1 -1
@@ -26,22 +26,35 @@ deprecated: true
26
26
  </button>
27
27
  <ul
28
28
  class="pf-v5-c-options-menu__menu"
29
+ role="menu"
29
30
  aria-labelledby="options-menu-single-example-toggle"
30
31
  hidden
31
32
  >
32
- <li>
33
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
34
- </li>
35
- <li>
36
- <button class="pf-v5-c-options-menu__menu-item" type="button">
33
+ <li role="none">
34
+ <button
35
+ class="pf-v5-c-options-menu__menu-item"
36
+ type="button"
37
+ role="menuitem"
38
+ >Option 1</button>
39
+ </li>
40
+ <li role="none">
41
+ <button
42
+ class="pf-v5-c-options-menu__menu-item"
43
+ type="button"
44
+ role="menuitem"
45
+ >
37
46
  Option 2
38
47
  <div class="pf-v5-c-options-menu__menu-item-icon">
39
48
  <i class="fas fa-check" aria-hidden="true"></i>
40
49
  </div>
41
50
  </button>
42
51
  </li>
43
- <li>
44
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
52
+ <li role="none">
53
+ <button
54
+ class="pf-v5-c-options-menu__menu-item"
55
+ type="button"
56
+ role="menuitem"
57
+ >Option 3</button>
45
58
  </li>
46
59
  </ul>
47
60
  </div>
@@ -61,21 +74,34 @@ deprecated: true
61
74
  </button>
62
75
  <ul
63
76
  class="pf-v5-c-options-menu__menu"
77
+ role="menu"
64
78
  aria-labelledby="options-menu-single-expanded-example-toggle"
65
79
  >
66
- <li>
67
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
68
- </li>
69
- <li>
70
- <button class="pf-v5-c-options-menu__menu-item" type="button">
80
+ <li role="none">
81
+ <button
82
+ class="pf-v5-c-options-menu__menu-item"
83
+ type="button"
84
+ role="menuitem"
85
+ >Option 1</button>
86
+ </li>
87
+ <li role="none">
88
+ <button
89
+ class="pf-v5-c-options-menu__menu-item"
90
+ type="button"
91
+ role="menuitem"
92
+ >
71
93
  Option 2
72
94
  <div class="pf-v5-c-options-menu__menu-item-icon">
73
95
  <i class="fas fa-check" aria-hidden="true"></i>
74
96
  </div>
75
97
  </button>
76
98
  </li>
77
- <li>
78
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
99
+ <li role="none">
100
+ <button
101
+ class="pf-v5-c-options-menu__menu-item"
102
+ type="button"
103
+ role="menuitem"
104
+ >Option 3</button>
79
105
  </li>
80
106
  </ul>
81
107
  </div>
@@ -119,56 +145,75 @@ deprecated: true
119
145
  <i class="fas fa-caret-down" aria-hidden="true"></i>
120
146
  </div>
121
147
  </button>
122
- <ul
148
+ <div
123
149
  class="pf-v5-c-options-menu__menu"
150
+ role="menu"
124
151
  aria-labelledby="options-menu-multiple-example-toggle"
125
152
  hidden
126
153
  >
127
- <li>
128
- <ul aria-label="Sort by">
129
- <li>
130
- <button class="pf-v5-c-options-menu__menu-item" type="button">Name</button>
154
+ <section class="pf-v5-c-options-menu__group" role="none">
155
+ <ul role="group" aria-label="Sort by">
156
+ <li role="none">
157
+ <button
158
+ class="pf-v5-c-options-menu__menu-item"
159
+ type="button"
160
+ role="menuitem"
161
+ >Name</button>
131
162
  </li>
132
- <li>
133
- <button class="pf-v5-c-options-menu__menu-item" type="button">
163
+ <li role="none">
164
+ <button
165
+ class="pf-v5-c-options-menu__menu-item"
166
+ type="button"
167
+ role="menuitem"
168
+ >
134
169
  Date
135
170
  <div class="pf-v5-c-options-menu__menu-item-icon">
136
171
  <i class="fas fa-check" aria-hidden="true"></i>
137
172
  </div>
138
173
  </button>
139
174
  </li>
140
- <li>
175
+ <li role="none">
141
176
  <button
142
177
  class="pf-v5-c-options-menu__menu-item"
143
178
  type="button"
179
+ role="menuitem"
144
180
  disabled
145
181
  >Disabled</button>
146
182
  </li>
147
- <li>
148
- <button class="pf-v5-c-options-menu__menu-item" type="button">Size</button>
183
+ <li role="none">
184
+ <button
185
+ class="pf-v5-c-options-menu__menu-item"
186
+ type="button"
187
+ role="menuitem"
188
+ >Size</button>
149
189
  </li>
150
190
  </ul>
151
- </li>
191
+ </section>
152
192
  <li class="pf-v5-c-divider" role="separator"></li>
153
- <li>
154
- <ul aria-label="Sort direction">
155
- <li>
156
- <button class="pf-v5-c-options-menu__menu-item" type="button">
193
+ <section class="pf-v5-c-options-menu__group" role="none">
194
+ <ul role="group" aria-label="Sort direction">
195
+ <li role="none">
196
+ <button
197
+ class="pf-v5-c-options-menu__menu-item"
198
+ type="button"
199
+ role="menuitem"
200
+ >
157
201
  Ascending
158
202
  <div class="pf-v5-c-options-menu__menu-item-icon">
159
203
  <i class="fas fa-check" aria-hidden="true"></i>
160
204
  </div>
161
205
  </button>
162
206
  </li>
163
- <li>
207
+ <li role="none">
164
208
  <button
165
209
  class="pf-v5-c-options-menu__menu-item"
166
210
  type="button"
211
+ role="menuitem"
167
212
  >Descending</button>
168
213
  </li>
169
214
  </ul>
170
- </li>
171
- </ul>
215
+ </section>
216
+ </div>
172
217
  </div>
173
218
 
174
219
  <div class="pf-v5-c-options-menu pf-m-expanded">
@@ -184,55 +229,74 @@ deprecated: true
184
229
  <i class="fas fa-caret-down" aria-hidden="true"></i>
185
230
  </div>
186
231
  </button>
187
- <ul
232
+ <div
188
233
  class="pf-v5-c-options-menu__menu"
234
+ role="menu"
189
235
  aria-labelledby="options-menu-multiple-expanded-example-toggle"
190
236
  >
191
- <li>
192
- <ul aria-label="Sort by">
193
- <li>
194
- <button class="pf-v5-c-options-menu__menu-item" type="button">Name</button>
237
+ <section class="pf-v5-c-options-menu__group" role="none">
238
+ <ul role="group" aria-label="Sort by">
239
+ <li role="none">
240
+ <button
241
+ class="pf-v5-c-options-menu__menu-item"
242
+ type="button"
243
+ role="menuitem"
244
+ >Name</button>
195
245
  </li>
196
- <li>
197
- <button class="pf-v5-c-options-menu__menu-item" type="button">
246
+ <li role="none">
247
+ <button
248
+ class="pf-v5-c-options-menu__menu-item"
249
+ type="button"
250
+ role="menuitem"
251
+ >
198
252
  Date
199
253
  <div class="pf-v5-c-options-menu__menu-item-icon">
200
254
  <i class="fas fa-check" aria-hidden="true"></i>
201
255
  </div>
202
256
  </button>
203
257
  </li>
204
- <li>
258
+ <li role="none">
205
259
  <button
206
260
  class="pf-v5-c-options-menu__menu-item"
207
261
  type="button"
262
+ role="menuitem"
208
263
  disabled
209
264
  >Disabled</button>
210
265
  </li>
211
- <li>
212
- <button class="pf-v5-c-options-menu__menu-item" type="button">Size</button>
266
+ <li role="none">
267
+ <button
268
+ class="pf-v5-c-options-menu__menu-item"
269
+ type="button"
270
+ role="menuitem"
271
+ >Size</button>
213
272
  </li>
214
273
  </ul>
215
- </li>
274
+ </section>
216
275
  <li class="pf-v5-c-divider" role="separator"></li>
217
- <li>
218
- <ul aria-label="Sort direction">
219
- <li>
220
- <button class="pf-v5-c-options-menu__menu-item" type="button">
276
+ <section class="pf-v5-c-options-menu__group" role="none">
277
+ <ul role="group" aria-label="Sort direction">
278
+ <li role="none">
279
+ <button
280
+ class="pf-v5-c-options-menu__menu-item"
281
+ type="button"
282
+ role="menuitem"
283
+ >
221
284
  Ascending
222
285
  <div class="pf-v5-c-options-menu__menu-item-icon">
223
286
  <i class="fas fa-check" aria-hidden="true"></i>
224
287
  </div>
225
288
  </button>
226
289
  </li>
227
- <li>
290
+ <li role="none">
228
291
  <button
229
292
  class="pf-v5-c-options-menu__menu-item"
230
293
  type="button"
294
+ role="menuitem"
231
295
  >Descending</button>
232
296
  </li>
233
297
  </ul>
234
- </li>
235
- </ul>
298
+ </section>
299
+ </div>
236
300
  </div>
237
301
 
238
302
  ```
@@ -254,22 +318,35 @@ deprecated: true
254
318
  </button>
255
319
  <ul
256
320
  class="pf-v5-c-options-menu__menu"
321
+ role="menu"
257
322
  aria-labelledby="options-menu-plain-disabled-example-toggle"
258
323
  hidden
259
324
  >
260
- <li>
261
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
262
- </li>
263
- <li>
264
- <button class="pf-v5-c-options-menu__menu-item" type="button">
325
+ <li role="none">
326
+ <button
327
+ class="pf-v5-c-options-menu__menu-item"
328
+ type="button"
329
+ role="menuitem"
330
+ >Option 1</button>
331
+ </li>
332
+ <li role="none">
333
+ <button
334
+ class="pf-v5-c-options-menu__menu-item"
335
+ type="button"
336
+ role="menuitem"
337
+ >
265
338
  Option 2
266
339
  <div class="pf-v5-c-options-menu__menu-item-icon">
267
340
  <i class="fas fa-check" aria-hidden="true"></i>
268
341
  </div>
269
342
  </button>
270
343
  </li>
271
- <li>
272
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
344
+ <li role="none">
345
+ <button
346
+ class="pf-v5-c-options-menu__menu-item"
347
+ type="button"
348
+ role="menuitem"
349
+ >Option 3</button>
273
350
  </li>
274
351
  </ul>
275
352
  </div>
@@ -287,22 +364,35 @@ deprecated: true
287
364
  </button>
288
365
  <ul
289
366
  class="pf-v5-c-options-menu__menu"
367
+ role="menu"
290
368
  aria-labelledby="options-menu-plain-example-toggle"
291
369
  hidden
292
370
  >
293
- <li>
294
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
295
- </li>
296
- <li>
297
- <button class="pf-v5-c-options-menu__menu-item" type="button">
371
+ <li role="none">
372
+ <button
373
+ class="pf-v5-c-options-menu__menu-item"
374
+ type="button"
375
+ role="menuitem"
376
+ >Option 1</button>
377
+ </li>
378
+ <li role="none">
379
+ <button
380
+ class="pf-v5-c-options-menu__menu-item"
381
+ type="button"
382
+ role="menuitem"
383
+ >
298
384
  Option 2
299
385
  <div class="pf-v5-c-options-menu__menu-item-icon">
300
386
  <i class="fas fa-check" aria-hidden="true"></i>
301
387
  </div>
302
388
  </button>
303
389
  </li>
304
- <li>
305
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
390
+ <li role="none">
391
+ <button
392
+ class="pf-v5-c-options-menu__menu-item"
393
+ type="button"
394
+ role="menuitem"
395
+ >Option 3</button>
306
396
  </li>
307
397
  </ul>
308
398
  </div>
@@ -320,21 +410,34 @@ deprecated: true
320
410
  </button>
321
411
  <ul
322
412
  class="pf-v5-c-options-menu__menu"
413
+ role="menu"
323
414
  aria-labelledby="options-menu-plain-expanded-example-toggle"
324
415
  >
325
- <li>
326
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
327
- </li>
328
- <li>
329
- <button class="pf-v5-c-options-menu__menu-item" type="button">
416
+ <li role="none">
417
+ <button
418
+ class="pf-v5-c-options-menu__menu-item"
419
+ type="button"
420
+ role="menuitem"
421
+ >Option 1</button>
422
+ </li>
423
+ <li role="none">
424
+ <button
425
+ class="pf-v5-c-options-menu__menu-item"
426
+ type="button"
427
+ role="menuitem"
428
+ >
330
429
  Option 2
331
430
  <div class="pf-v5-c-options-menu__menu-item-icon">
332
431
  <i class="fas fa-check" aria-hidden="true"></i>
333
432
  </div>
334
433
  </button>
335
434
  </li>
336
- <li>
337
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
435
+ <li role="none">
436
+ <button
437
+ class="pf-v5-c-options-menu__menu-item"
438
+ type="button"
439
+ role="menuitem"
440
+ >Option 3</button>
338
441
  </li>
339
442
  </ul>
340
443
  </div>
@@ -359,21 +462,34 @@ deprecated: true
359
462
  </button>
360
463
  <ul
361
464
  class="pf-v5-c-options-menu__menu pf-m-top"
465
+ role="menu"
362
466
  aria-labelledby="options-menu-top-example-toggle"
363
467
  >
364
- <li>
365
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
366
- </li>
367
- <li>
368
- <button class="pf-v5-c-options-menu__menu-item" type="button">
468
+ <li role="none">
469
+ <button
470
+ class="pf-v5-c-options-menu__menu-item"
471
+ type="button"
472
+ role="menuitem"
473
+ >Option 1</button>
474
+ </li>
475
+ <li role="none">
476
+ <button
477
+ class="pf-v5-c-options-menu__menu-item"
478
+ type="button"
479
+ role="menuitem"
480
+ >
369
481
  Option 2
370
482
  <div class="pf-v5-c-options-menu__menu-item-icon">
371
483
  <i class="fas fa-check" aria-hidden="true"></i>
372
484
  </div>
373
485
  </button>
374
486
  </li>
375
- <li>
376
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
487
+ <li role="none">
488
+ <button
489
+ class="pf-v5-c-options-menu__menu-item"
490
+ type="button"
491
+ role="menuitem"
492
+ >Option 3</button>
377
493
  </li>
378
494
  </ul>
379
495
  </div>
@@ -398,21 +514,34 @@ deprecated: true
398
514
  </button>
399
515
  <ul
400
516
  class="pf-v5-c-options-menu__menu pf-m-align-right"
517
+ role="menu"
401
518
  aria-labelledby="options-menu-align-right-example-toggle"
402
519
  >
403
- <li>
404
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
405
- </li>
406
- <li>
407
- <button class="pf-v5-c-options-menu__menu-item" type="button">
520
+ <li role="none">
521
+ <button
522
+ class="pf-v5-c-options-menu__menu-item"
523
+ type="button"
524
+ role="menuitem"
525
+ >Option 1</button>
526
+ </li>
527
+ <li role="none">
528
+ <button
529
+ class="pf-v5-c-options-menu__menu-item"
530
+ type="button"
531
+ role="menuitem"
532
+ >
408
533
  Option 2
409
534
  <div class="pf-v5-c-options-menu__menu-item-icon">
410
535
  <i class="fas fa-check" aria-hidden="true"></i>
411
536
  </div>
412
537
  </button>
413
538
  </li>
414
- <li>
415
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
539
+ <li role="none">
540
+ <button
541
+ class="pf-v5-c-options-menu__menu-item"
542
+ type="button"
543
+ role="menuitem"
544
+ >Option 3</button>
416
545
  </li>
417
546
  </ul>
418
547
  </div>
@@ -438,22 +567,35 @@ deprecated: true
438
567
  </button>
439
568
  <ul
440
569
  class="pf-v5-c-options-menu__menu"
570
+ role="menu"
441
571
  aria-labelledby="options-menu-disabled-text-example-toggle"
442
572
  hidden
443
573
  >
444
- <li>
445
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
446
- </li>
447
- <li>
448
- <button class="pf-v5-c-options-menu__menu-item" type="button">
574
+ <li role="none">
575
+ <button
576
+ class="pf-v5-c-options-menu__menu-item"
577
+ type="button"
578
+ role="menuitem"
579
+ >Option 1</button>
580
+ </li>
581
+ <li role="none">
582
+ <button
583
+ class="pf-v5-c-options-menu__menu-item"
584
+ type="button"
585
+ role="menuitem"
586
+ >
449
587
  Option 2
450
588
  <div class="pf-v5-c-options-menu__menu-item-icon">
451
589
  <i class="fas fa-check" aria-hidden="true"></i>
452
590
  </div>
453
591
  </button>
454
592
  </li>
455
- <li>
456
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
593
+ <li role="none">
594
+ <button
595
+ class="pf-v5-c-options-menu__menu-item"
596
+ type="button"
597
+ role="menuitem"
598
+ >Option 3</button>
457
599
  </li>
458
600
  </ul>
459
601
  </div>
@@ -473,22 +615,35 @@ deprecated: true
473
615
  </button>
474
616
  <ul
475
617
  class="pf-v5-c-options-menu__menu"
618
+ role="menu"
476
619
  aria-labelledby="options-menu-plain-text-example-toggle"
477
620
  hidden
478
621
  >
479
- <li>
480
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
481
- </li>
482
- <li>
483
- <button class="pf-v5-c-options-menu__menu-item" type="button">
622
+ <li role="none">
623
+ <button
624
+ class="pf-v5-c-options-menu__menu-item"
625
+ type="button"
626
+ role="menuitem"
627
+ >Option 1</button>
628
+ </li>
629
+ <li role="none">
630
+ <button
631
+ class="pf-v5-c-options-menu__menu-item"
632
+ type="button"
633
+ role="menuitem"
634
+ >
484
635
  Option 2
485
636
  <div class="pf-v5-c-options-menu__menu-item-icon">
486
637
  <i class="fas fa-check" aria-hidden="true"></i>
487
638
  </div>
488
639
  </button>
489
640
  </li>
490
- <li>
491
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
641
+ <li role="none">
642
+ <button
643
+ class="pf-v5-c-options-menu__menu-item"
644
+ type="button"
645
+ role="menuitem"
646
+ >Option 3</button>
492
647
  </li>
493
648
  </ul>
494
649
  </div>
@@ -508,21 +663,34 @@ deprecated: true
508
663
  </button>
509
664
  <ul
510
665
  class="pf-v5-c-options-menu__menu"
666
+ role="menu"
511
667
  aria-labelledby="options-menu-plain-text-expanded-example-toggle"
512
668
  >
513
- <li>
514
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
515
- </li>
516
- <li>
517
- <button class="pf-v5-c-options-menu__menu-item" type="button">
669
+ <li role="none">
670
+ <button
671
+ class="pf-v5-c-options-menu__menu-item"
672
+ type="button"
673
+ role="menuitem"
674
+ >Option 1</button>
675
+ </li>
676
+ <li role="none">
677
+ <button
678
+ class="pf-v5-c-options-menu__menu-item"
679
+ type="button"
680
+ role="menuitem"
681
+ >
518
682
  Option 2
519
683
  <div class="pf-v5-c-options-menu__menu-item-icon">
520
684
  <i class="fas fa-check" aria-hidden="true"></i>
521
685
  </div>
522
686
  </button>
523
687
  </li>
524
- <li>
525
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 3</button>
688
+ <li role="none">
689
+ <button
690
+ class="pf-v5-c-options-menu__menu-item"
691
+ type="button"
692
+ role="menuitem"
693
+ >Option 3</button>
526
694
  </li>
527
695
  </ul>
528
696
  </div>
@@ -547,15 +715,24 @@ deprecated: true
547
715
  </button>
548
716
  <div
549
717
  class="pf-v5-c-options-menu__menu"
718
+ role="menu"
550
719
  aria-labelledby="options-menu-groups-toggle"
551
720
  >
552
- <section class="pf-v5-c-options-menu__group">
553
- <ul>
554
- <li>
555
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
721
+ <section class="pf-v5-c-options-menu__group" role="none">
722
+ <ul role="group">
723
+ <li role="none">
724
+ <button
725
+ class="pf-v5-c-options-menu__menu-item"
726
+ type="button"
727
+ role="menuitem"
728
+ >Option 1</button>
556
729
  </li>
557
- <li>
558
- <button class="pf-v5-c-options-menu__menu-item" type="button">
730
+ <li role="none">
731
+ <button
732
+ class="pf-v5-c-options-menu__menu-item"
733
+ type="button"
734
+ role="menuitem"
735
+ >
559
736
  Option 2
560
737
  <div class="pf-v5-c-options-menu__menu-item-icon">
561
738
  <i class="fas fa-check" aria-hidden="true"></i>
@@ -564,27 +741,43 @@ deprecated: true
564
741
  </li>
565
742
  </ul>
566
743
  </section>
567
- <section class="pf-v5-c-options-menu__group">
744
+ <section class="pf-v5-c-options-menu__group" role="none">
568
745
  <h1 class="pf-v5-c-options-menu__group-title">Group 1</h1>
569
746
 
570
- <ul>
571
- <li>
572
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
747
+ <ul role="group">
748
+ <li role="none">
749
+ <button
750
+ class="pf-v5-c-options-menu__menu-item"
751
+ type="button"
752
+ role="menuitem"
753
+ >Option 1</button>
573
754
  </li>
574
- <li>
575
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 2</button>
755
+ <li role="none">
756
+ <button
757
+ class="pf-v5-c-options-menu__menu-item"
758
+ type="button"
759
+ role="menuitem"
760
+ >Option 2</button>
576
761
  </li>
577
762
  </ul>
578
763
  </section>
579
- <section class="pf-v5-c-options-menu__group">
764
+ <section class="pf-v5-c-options-menu__group" role="none">
580
765
  <h1 class="pf-v5-c-options-menu__group-title">Group 2</h1>
581
766
 
582
- <ul>
583
- <li>
584
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
767
+ <ul role="group">
768
+ <li role="none">
769
+ <button
770
+ class="pf-v5-c-options-menu__menu-item"
771
+ type="button"
772
+ role="menuitem"
773
+ >Option 1</button>
585
774
  </li>
586
- <li>
587
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 2</button>
775
+ <li role="none">
776
+ <button
777
+ class="pf-v5-c-options-menu__menu-item"
778
+ type="button"
779
+ role="menuitem"
780
+ >Option 2</button>
588
781
  </li>
589
782
  </ul>
590
783
  </section>
@@ -611,15 +804,24 @@ deprecated: true
611
804
  </button>
612
805
  <div
613
806
  class="pf-v5-c-options-menu__menu"
807
+ role="menu"
614
808
  aria-labelledby="options-menu-groups-and-dividers-between-groups-toggle"
615
809
  >
616
- <section class="pf-v5-c-options-menu__group">
617
- <ul>
618
- <li>
619
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
810
+ <section class="pf-v5-c-options-menu__group" role="none">
811
+ <ul role="group">
812
+ <li role="none">
813
+ <button
814
+ class="pf-v5-c-options-menu__menu-item"
815
+ type="button"
816
+ role="menuitem"
817
+ >Option 1</button>
620
818
  </li>
621
- <li>
622
- <button class="pf-v5-c-options-menu__menu-item" type="button">
819
+ <li role="none">
820
+ <button
821
+ class="pf-v5-c-options-menu__menu-item"
822
+ type="button"
823
+ role="menuitem"
824
+ >
623
825
  Option 2
624
826
  <div class="pf-v5-c-options-menu__menu-item-icon">
625
827
  <i class="fas fa-check" aria-hidden="true"></i>
@@ -629,28 +831,44 @@ deprecated: true
629
831
  </ul>
630
832
  </section>
631
833
  <hr class="pf-v5-c-divider" />
632
- <section class="pf-v5-c-options-menu__group">
834
+ <section class="pf-v5-c-options-menu__group" role="none">
633
835
  <h1 class="pf-v5-c-options-menu__group-title">Group 1</h1>
634
836
 
635
- <ul>
636
- <li>
637
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
837
+ <ul role="group">
838
+ <li role="none">
839
+ <button
840
+ class="pf-v5-c-options-menu__menu-item"
841
+ type="button"
842
+ role="menuitem"
843
+ >Option 1</button>
638
844
  </li>
639
- <li>
640
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 2</button>
845
+ <li role="none">
846
+ <button
847
+ class="pf-v5-c-options-menu__menu-item"
848
+ type="button"
849
+ role="menuitem"
850
+ >Option 2</button>
641
851
  </li>
642
852
  </ul>
643
853
  </section>
644
854
  <hr class="pf-v5-c-divider" />
645
- <section class="pf-v5-c-options-menu__group">
855
+ <section class="pf-v5-c-options-menu__group" role="none">
646
856
  <h1 class="pf-v5-c-options-menu__group-title">Group 2</h1>
647
857
 
648
- <ul>
649
- <li>
650
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
858
+ <ul role="group">
859
+ <li role="none">
860
+ <button
861
+ class="pf-v5-c-options-menu__menu-item"
862
+ type="button"
863
+ role="menuitem"
864
+ >Option 1</button>
651
865
  </li>
652
- <li>
653
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 2</button>
866
+ <li role="none">
867
+ <button
868
+ class="pf-v5-c-options-menu__menu-item"
869
+ type="button"
870
+ role="menuitem"
871
+ >Option 2</button>
654
872
  </li>
655
873
  </ul>
656
874
  </section>
@@ -677,15 +895,24 @@ deprecated: true
677
895
  </button>
678
896
  <div
679
897
  class="pf-v5-c-options-menu__menu"
898
+ role="menu"
680
899
  aria-labelledby="options-menu-groups-and-dividers-between-items-toggle"
681
900
  >
682
- <section class="pf-v5-c-options-menu__group">
683
- <ul>
684
- <li>
685
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
901
+ <section class="pf-v5-c-options-menu__group" role="none">
902
+ <ul role="group">
903
+ <li role="none">
904
+ <button
905
+ class="pf-v5-c-options-menu__menu-item"
906
+ type="button"
907
+ role="menuitem"
908
+ >Option 1</button>
686
909
  </li>
687
- <li>
688
- <button class="pf-v5-c-options-menu__menu-item" type="button">
910
+ <li role="none">
911
+ <button
912
+ class="pf-v5-c-options-menu__menu-item"
913
+ type="button"
914
+ role="menuitem"
915
+ >
689
916
  Option 2
690
917
  <div class="pf-v5-c-options-menu__menu-item-icon">
691
918
  <i class="fas fa-check" aria-hidden="true"></i>
@@ -695,28 +922,44 @@ deprecated: true
695
922
  <li class="pf-v5-c-divider" role="separator"></li>
696
923
  </ul>
697
924
  </section>
698
- <section class="pf-v5-c-options-menu__group">
925
+ <section class="pf-v5-c-options-menu__group" role="none">
699
926
  <h1 class="pf-v5-c-options-menu__group-title">Group 1</h1>
700
927
 
701
- <ul>
702
- <li>
703
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
928
+ <ul role="group">
929
+ <li role="none">
930
+ <button
931
+ class="pf-v5-c-options-menu__menu-item"
932
+ type="button"
933
+ role="menuitem"
934
+ >Option 1</button>
704
935
  </li>
705
- <li>
706
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 2</button>
936
+ <li role="none">
937
+ <button
938
+ class="pf-v5-c-options-menu__menu-item"
939
+ type="button"
940
+ role="menuitem"
941
+ >Option 2</button>
707
942
  </li>
708
943
  <li class="pf-v5-c-divider" role="separator"></li>
709
944
  </ul>
710
945
  </section>
711
- <section class="pf-v5-c-options-menu__group">
946
+ <section class="pf-v5-c-options-menu__group" role="none">
712
947
  <h1 class="pf-v5-c-options-menu__group-title">Group 2</h1>
713
948
 
714
- <ul>
715
- <li>
716
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 1</button>
949
+ <ul role="group">
950
+ <li role="none">
951
+ <button
952
+ class="pf-v5-c-options-menu__menu-item"
953
+ type="button"
954
+ role="menuitem"
955
+ >Option 1</button>
717
956
  </li>
718
- <li>
719
- <button class="pf-v5-c-options-menu__menu-item" type="button">Option 2</button>
957
+ <li role="none">
958
+ <button
959
+ class="pf-v5-c-options-menu__menu-item"
960
+ type="button"
961
+ role="menuitem"
962
+ >Option 2</button>
720
963
  </li>
721
964
  </ul>
722
965
  </section>