@patternfly/patternfly 5.0.0-alpha.3 → 5.0.0-alpha.30

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 (290) hide show
  1. package/RELEASE-NOTES.md +17 -0
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/pficon/pficon.scss +6 -0
  4. package/assets/pficon/pficon.woff +0 -0
  5. package/assets/pficon/pficon.woff2 +0 -0
  6. package/base/_base.scss +0 -18
  7. package/base/_chart-globals.scss +0 -4
  8. package/base/_common.scss +0 -22
  9. package/base/_fonts.scss +22 -22
  10. package/base/_globals.scss +1 -1
  11. package/base/_icons.scss +1 -28
  12. package/base/_svg-icons.scss +6 -0
  13. package/base/_variables.scss +1 -1
  14. package/base/patternfly-common.css +0 -10
  15. package/base/patternfly-fonts.css +17 -17
  16. package/base/patternfly-icons.css +6 -20
  17. package/base/patternfly-pf-icons.css +5 -1
  18. package/base/themes/dark/_globals.scss +1 -1
  19. package/base/themes/dark/_variables.scss +1 -1
  20. package/components/AboutModalBox/about-modal-box.css +7 -7
  21. package/components/AboutModalBox/about-modal-box.scss +7 -7
  22. package/components/Accordion/accordion.css +2 -0
  23. package/components/Accordion/accordion.scss +2 -0
  24. package/components/Alert/alert.css +3 -3
  25. package/components/Alert/alert.scss +3 -3
  26. package/components/AppLauncher/app-launcher.css +2 -0
  27. package/components/AppLauncher/app-launcher.scss +2 -0
  28. package/components/Avatar/avatar.scss +2 -2
  29. package/components/Banner/banner.css +14 -14
  30. package/components/Banner/banner.scss +9 -13
  31. package/components/Breadcrumb/breadcrumb.css +2 -0
  32. package/components/Breadcrumb/breadcrumb.scss +2 -0
  33. package/components/CalendarMonth/calendar-month.css +2 -2
  34. package/components/CalendarMonth/calendar-month.scss +3 -3
  35. package/components/Card/card.css +20 -21
  36. package/components/Card/card.scss +22 -26
  37. package/components/Chip/chip.css +33 -24
  38. package/components/Chip/chip.scss +40 -31
  39. package/components/ChipGroup/chip-group.css +27 -17
  40. package/components/ChipGroup/chip-group.scss +36 -22
  41. package/components/Content/content.css +11 -5
  42. package/components/Content/content.scss +17 -9
  43. package/components/ContextSelector/context-selector.css +5 -1
  44. package/components/ContextSelector/context-selector.scss +6 -2
  45. package/components/DataList/data-list-grid.css +7 -7
  46. package/components/DataList/data-list-grid.scss +1 -1
  47. package/components/DataList/data-list.css +12 -11
  48. package/components/DataList/data-list.scss +5 -4
  49. package/components/DescriptionList/description-list.css +7 -7
  50. package/components/DescriptionList/description-list.scss +7 -7
  51. package/components/Divider/divider.css +2 -2
  52. package/components/Divider/divider.scss +3 -3
  53. package/components/Drawer/drawer.css +15 -16
  54. package/components/Drawer/drawer.scss +2 -3
  55. package/components/Dropdown/dropdown.css +12 -10
  56. package/components/Dropdown/dropdown.scss +2 -0
  57. package/components/DualListSelector/dual-list-selector.css +1 -1
  58. package/components/DualListSelector/dual-list-selector.scss +1 -1
  59. package/components/EmptyState/empty-state.css +46 -52
  60. package/components/EmptyState/empty-state.scss +58 -57
  61. package/components/ExpandableSection/expandable-section.css +2 -0
  62. package/components/ExpandableSection/expandable-section.scss +2 -0
  63. package/components/Form/form.css +12 -12
  64. package/components/Form/form.scss +7 -7
  65. package/components/FormControl/form-control.css +2 -5
  66. package/components/FormControl/themes/dark/form-control.scss +2 -6
  67. package/components/Hint/hint.css +2 -2
  68. package/components/Hint/hint.scss +2 -2
  69. package/components/Label/label.css +43 -30
  70. package/components/Label/label.scss +49 -34
  71. package/components/LabelGroup/label-group.css +26 -22
  72. package/components/LabelGroup/label-group.scss +31 -26
  73. package/components/Login/login.css +11 -11
  74. package/components/Login/login.scss +10 -10
  75. package/components/Masthead/masthead.css +4 -4
  76. package/components/Masthead/masthead.scss +4 -4
  77. package/components/Menu/menu.css +9 -6
  78. package/components/Menu/menu.scss +34 -31
  79. package/components/MenuToggle/menu-toggle.css +3 -1
  80. package/components/MenuToggle/menu-toggle.scss +3 -1
  81. package/components/ModalBox/modal-box.css +9 -8
  82. package/components/ModalBox/modal-box.scss +11 -11
  83. package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
  84. package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
  85. package/components/Nav/nav.css +1 -1
  86. package/components/Nav/nav.scss +2 -2
  87. package/components/NotificationDrawer/notification-drawer.css +3 -3
  88. package/components/NotificationDrawer/notification-drawer.scss +3 -3
  89. package/components/Page/page.css +71 -71
  90. package/components/Page/page.scss +12 -12
  91. package/components/Pagination/pagination.css +2 -2
  92. package/components/Popover/popover.css +25 -31
  93. package/components/Popover/popover.scss +27 -32
  94. package/components/Popover/themes/dark/popover.scss +2 -8
  95. package/components/Progress/progress.css +13 -10
  96. package/components/Progress/progress.scss +13 -10
  97. package/components/ProgressStepper/progress-stepper.css +5 -5
  98. package/components/ProgressStepper/progress-stepper.scss +5 -5
  99. package/components/SearchInput/search-input.css +4 -2
  100. package/components/SearchInput/search-input.scss +4 -2
  101. package/components/Select/select.css +1 -1
  102. package/components/Select/select.scss +1 -1
  103. package/components/Sidebar/sidebar.css +69 -26
  104. package/components/Sidebar/sidebar.scss +84 -27
  105. package/components/SimpleList/simple-list.css +1 -1
  106. package/components/SimpleList/simple-list.scss +2 -2
  107. package/components/Spinner/spinner.css +4 -4
  108. package/components/Spinner/spinner.scss +4 -4
  109. package/components/Table/table-grid.css +28 -28
  110. package/components/Table/table-scrollable.css +31 -26
  111. package/components/Table/table-scrollable.scss +33 -28
  112. package/components/Table/table-tree-view.css +14 -4
  113. package/components/Table/table-tree-view.scss +15 -0
  114. package/components/Table/table.css +7 -2
  115. package/components/Table/table.scss +9 -2
  116. package/components/Tabs/tabs.css +0 -4
  117. package/components/Tabs/tabs.scss +0 -7
  118. package/components/TextInputGroup/text-input-group.css +6 -4
  119. package/components/TextInputGroup/text-input-group.scss +6 -5
  120. package/components/Tile/tile.css +1 -1
  121. package/components/Tile/tile.scss +1 -1
  122. package/components/Timestamp/timestamp.css +3 -3
  123. package/components/Timestamp/timestamp.scss +3 -3
  124. package/components/Toolbar/toolbar.css +67 -39
  125. package/components/Toolbar/toolbar.scss +39 -5
  126. package/components/Tooltip/themes/dark/tooltip.scss +1 -11
  127. package/components/Tooltip/tooltip.css +7 -12
  128. package/components/Tooltip/tooltip.scss +6 -3
  129. package/components/TreeView/tree-view.css +7 -15
  130. package/components/TreeView/tree-view.scss +7 -18
  131. package/components/Wizard/wizard.css +16 -1
  132. package/components/Wizard/wizard.scss +20 -2
  133. package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
  134. package/docs/components/Accordion/examples/Accordion.md +12 -12
  135. package/docs/components/ActionList/examples/ActionList.md +6 -6
  136. package/docs/components/Alert/examples/Alert.md +19 -19
  137. package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
  138. package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
  139. package/docs/components/Avatar/examples/Avatar.md +11 -11
  140. package/docs/components/BackToTop/examples/BackToTop.md +4 -4
  141. package/docs/components/Backdrop/examples/Backdrop.md +4 -4
  142. package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
  143. package/docs/components/Badge/examples/Badge.md +5 -5
  144. package/docs/components/Banner/examples/Banner.md +8 -8
  145. package/docs/components/Brand/examples/Brand.md +9 -9
  146. package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
  147. package/docs/components/Button/examples/Button.md +35 -35
  148. package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
  149. package/docs/components/Card/examples/Card.md +139 -64
  150. package/docs/components/Check/examples/Check.md +15 -19
  151. package/docs/components/Chip/examples/Chip.md +70 -52
  152. package/docs/components/ChipGroup/examples/ChipGroup.md +452 -673
  153. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
  154. package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
  155. package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
  156. package/docs/components/Content/examples/Content.md +37 -9
  157. package/docs/components/ContextSelector/examples/context-selector.css +5 -1
  158. package/docs/components/ContextSelector/examples/context-selector.md +86 -80
  159. package/docs/components/DataList/examples/DataList.md +187 -148
  160. package/docs/components/DatePicker/examples/DatePicker.md +10 -10
  161. package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
  162. package/docs/components/Divider/examples/Divider.md +10 -10
  163. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  164. package/docs/components/Drawer/examples/Drawer.md +43 -43
  165. package/docs/components/Dropdown/examples/Dropdown.css +5 -2
  166. package/docs/components/Dropdown/examples/Dropdown.md +123 -99
  167. package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
  168. package/docs/components/EmptyState/examples/EmptyState.md +130 -82
  169. package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
  170. package/docs/components/FileUpload/examples/FileUpload.md +8 -8
  171. package/docs/components/Form/examples/Form.md +64 -64
  172. package/docs/components/FormControl/examples/FormControl.md +20 -20
  173. package/docs/components/HelperText/examples/HelperText.md +12 -12
  174. package/docs/components/Hint/examples/Hint.md +7 -7
  175. package/docs/components/Icon/examples/Icon.md +10 -10
  176. package/docs/components/InlineEdit/examples/InlineEdit.md +29 -27
  177. package/docs/components/InputGroup/examples/InputGroup.md +10 -10
  178. package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
  179. package/docs/components/Label/examples/Label.md +1427 -746
  180. package/docs/components/LabelGroup/examples/LabelGroup.md +295 -242
  181. package/docs/components/List/examples/List.md +18 -18
  182. package/docs/components/LogViewer/examples/LogViewer.md +79 -73
  183. package/docs/components/Login/examples/Login.md +32 -32
  184. package/docs/components/Masthead/examples/masthead.md +9 -9
  185. package/docs/components/Menu/examples/Menu.md +82 -80
  186. package/docs/components/MenuToggle/examples/MenuToggle.md +28 -28
  187. package/docs/components/ModalBox/examples/ModalBox.md +106 -85
  188. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
  189. package/docs/components/Nav/examples/Navigation.md +69 -69
  190. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  191. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
  192. package/docs/components/NumberInput/examples/NumberInput.md +12 -12
  193. package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
  194. package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
  195. package/docs/components/Page/examples/Page.md +54 -54
  196. package/docs/components/Pagination/examples/Pagination.md +27 -27
  197. package/docs/components/Panel/examples/Panel.md +10 -10
  198. package/docs/components/Popover/examples/Popover.md +201 -144
  199. package/docs/components/Progress/examples/Progress.md +31 -60
  200. package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
  201. package/docs/components/Radio/examples/Radio.md +11 -11
  202. package/docs/components/SearchInput/examples/SearchInput.md +34 -34
  203. package/docs/components/Select/examples/Select.md +367 -313
  204. package/docs/components/Sidebar/examples/Sidebar.md +70 -14
  205. package/docs/components/SimpleList/examples/SimpleList.md +15 -15
  206. package/docs/components/Skeleton/examples/Skeleton.md +8 -8
  207. package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
  208. package/docs/components/Slider/examples/Slider.md +24 -24
  209. package/docs/components/Spinner/examples/Spinner.md +24 -24
  210. package/docs/components/Switch/examples/Switch.md +19 -19
  211. package/docs/components/TabContent/examples/TabContent.md +13 -13
  212. package/docs/components/Table/examples/Table.css +4 -0
  213. package/docs/components/Table/examples/Table.md +3163 -1712
  214. package/docs/components/Tabs/examples/Tabs.md +149 -149
  215. package/docs/components/TextInputGroup/examples/TextInputGroup.md +362 -280
  216. package/docs/components/Tile/examples/Tile.md +15 -15
  217. package/docs/components/Timestamp/examples/Timestamp.md +5 -5
  218. package/docs/components/Title/examples/Title.md +17 -17
  219. package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
  220. package/docs/components/Toolbar/examples/Toolbar.md +471 -378
  221. package/docs/components/Tooltip/examples/Tooltip.md +10 -10
  222. package/docs/components/TreeView/examples/TreeView.md +34 -34
  223. package/docs/components/Truncate/examples/Truncate.md +4 -4
  224. package/docs/components/Wizard/examples/Wizard.md +119 -127
  225. package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
  226. package/docs/demos/Alert/examples/Alert.md +13 -13
  227. package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
  228. package/docs/demos/Banner/examples/Banner.md +8 -9
  229. package/docs/demos/Card/examples/Card.md +219 -156
  230. package/docs/demos/CardView/examples/CardView.md +56 -29
  231. package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
  232. package/docs/demos/Dashboard/examples/Dashboard.md +51 -35
  233. package/docs/demos/DataList/examples/DataList.md +160 -111
  234. package/docs/demos/DescriptionList/examples/DescriptionList.md +33 -22
  235. package/docs/demos/Drawer/examples/Drawer.md +24 -22
  236. package/docs/demos/Form/examples/BasicForms.md +28 -22
  237. package/docs/demos/HelperText/examples/HelperText.md +8 -9
  238. package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
  239. package/docs/demos/Masthead/examples/Masthead.md +32 -35
  240. package/docs/demos/Modal/examples/Modal.md +54 -66
  241. package/docs/demos/Nav/examples/Nav.md +47 -47
  242. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
  243. package/docs/demos/Page/examples/Page.md +37 -37
  244. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -33
  245. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +83 -67
  246. package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
  247. package/docs/demos/Table/examples/Table.md +2465 -478
  248. package/docs/demos/Tabs/examples/Tabs.md +141 -90
  249. package/docs/demos/Toolbar/examples/Toolbar.md +1811 -177
  250. package/docs/demos/Wizard/examples/Wizard.md +289 -266
  251. package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
  252. package/docs/layouts/Flex/examples/Flex.md +98 -98
  253. package/docs/layouts/Gallery/examples/Gallery.md +7 -7
  254. package/docs/layouts/Grid/examples/Grid.md +9 -9
  255. package/docs/layouts/Level/examples/Level.md +5 -5
  256. package/docs/layouts/Split/examples/Split.md +7 -7
  257. package/docs/layouts/Stack/examples/Stack.md +6 -6
  258. package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
  259. package/docs/utilities/Alignment/examples/Alignment.md +6 -6
  260. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
  261. package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
  262. package/docs/utilities/Display/examples/Display.md +11 -11
  263. package/docs/utilities/Flex/examples/Flex.md +34 -34
  264. package/docs/utilities/Float/examples/Float.md +4 -4
  265. package/docs/utilities/Sizing/examples/Sizing.md +50 -50
  266. package/docs/utilities/Spacing/examples/Spacing.md +34 -34
  267. package/docs/utilities/Text/examples/Text.md +27 -27
  268. package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
  269. package/layouts/Gallery/gallery.css +1 -1
  270. package/layouts/Gallery/gallery.scss +1 -1
  271. package/layouts/Grid/grid.css +7 -7
  272. package/layouts/Grid/grid.scss +2 -2
  273. package/package.json +59 -65
  274. package/patternfly-base-no-reset.css +23 -47
  275. package/patternfly-base.css +23 -47
  276. package/patternfly-no-reset.css +770 -652
  277. package/patternfly.css +770 -652
  278. package/patternfly.min.css +1 -1
  279. package/patternfly.min.css.map +1 -1
  280. package/sass-utilities/functions.scss +8 -24
  281. package/sass-utilities/mixins.scss +15 -39
  282. package/sass-utilities/scss-variables.scss +1 -1
  283. package/sass-utilities/themes/dark/scss-variables.scss +1 -1
  284. package/utilities/Spacing/spacing.scss +2 -2
  285. package/base/_shield-inheritable.scss +0 -69
  286. package/base/_shield-noninheritable.scss +0 -13
  287. package/base/patternfly-shield-inheritable.css +0 -66
  288. package/base/patternfly-shield-inheritable.scss +0 -4
  289. package/base/patternfly-shield-noninheritable.css +0 -9
  290. package/base/patternfly-shield-noninheritable.scss +0 -4
@@ -315,10 +315,6 @@ cssPrefix: pf-c-progress
315
315
  class="pf-c-progress pf-m-outside pf-m-lg"
316
316
  id="progress-outside-static-width-example"
317
317
  >
318
- <div
319
- class="pf-c-progress__description"
320
- id="progress-outside-static-width-example-description"
321
- ></div>
322
318
  <div class="pf-c-progress__status" aria-hidden="true">
323
319
  <span class="pf-c-progress__measure pf-m-static-width">1%</span>
324
320
  </div>
@@ -339,10 +335,6 @@ cssPrefix: pf-c-progress
339
335
  class="pf-c-progress pf-m-outside pf-m-lg"
340
336
  id="progress-outside-static-width-2-example"
341
337
  >
342
- <div
343
- class="pf-c-progress__description"
344
- id="progress-outside-static-width-2-example-description"
345
- ></div>
346
338
  <div class="pf-c-progress__status" aria-hidden="true">
347
339
  <span class="pf-c-progress__measure pf-m-static-width">50%</span>
348
340
  </div>
@@ -363,10 +355,6 @@ cssPrefix: pf-c-progress
363
355
  class="pf-c-progress pf-m-outside pf-m-lg"
364
356
  id="progress-outside-static-width-3-example"
365
357
  >
366
- <div
367
- class="pf-c-progress__description"
368
- id="progress-outside-static-width-3-example-description"
369
- ></div>
370
358
  <div class="pf-c-progress__status" aria-hidden="true">
371
359
  <span class="pf-c-progress__measure pf-m-static-width">100%</span>
372
360
  </div>
@@ -389,10 +377,6 @@ cssPrefix: pf-c-progress
389
377
  id="progress-outside-static-width-4-example"
390
378
  style="--pf-c-progress__measure--m-static-width--MinWidth: 6ch;"
391
379
  >
392
- <div
393
- class="pf-c-progress__description"
394
- id="progress-outside-static-width-4-example-description"
395
- ></div>
396
380
  <div class="pf-c-progress__status" aria-hidden="true">
397
381
  <span class="pf-c-progress__measure pf-m-static-width">1,000</span>
398
382
  </div>
@@ -414,10 +398,6 @@ cssPrefix: pf-c-progress
414
398
  id="progress-outside-static-width-5-example"
415
399
  style="--pf-c-progress__measure--m-static-width--MinWidth: 6ch;"
416
400
  >
417
- <div
418
- class="pf-c-progress__description"
419
- id="progress-outside-static-width-5-example-description"
420
- ></div>
421
401
  <div class="pf-c-progress__status" aria-hidden="true">
422
402
  <span class="pf-c-progress__measure pf-m-static-width">50,000</span>
423
403
  </div>
@@ -439,10 +419,6 @@ cssPrefix: pf-c-progress
439
419
  id="progress-outside-static-width-6-example"
440
420
  style="--pf-c-progress__measure--m-static-width--MinWidth: 6ch;"
441
421
  >
442
- <div
443
- class="pf-c-progress__description"
444
- id="progress-outside-static-width-6-example-description"
445
- ></div>
446
422
  <div class="pf-c-progress__status" aria-hidden="true">
447
423
  <span class="pf-c-progress__measure pf-m-static-width">100,000</span>
448
424
  </div>
@@ -464,10 +440,6 @@ cssPrefix: pf-c-progress
464
440
 
465
441
  ```html
466
442
  <div class="pf-c-progress pf-m-singleline" id="progress-singleline-example">
467
- <div
468
- class="pf-c-progress__description"
469
- id="progress-singleline-example-description"
470
- ></div>
471
443
  <div class="pf-c-progress__status" aria-hidden="true">
472
444
  <span class="pf-c-progress__measure">33%</span>
473
445
  </div>
@@ -493,7 +465,6 @@ cssPrefix: pf-c-progress
493
465
  class="pf-c-progress__description"
494
466
  id="progress-no-measure-example-description"
495
467
  >Title</div>
496
- <div class="pf-c-progress__status" aria-hidden="true"></div>
497
468
  <div
498
469
  class="pf-c-progress__bar"
499
470
  role="progressbar"
@@ -656,37 +627,37 @@ If the status that displays with the bar is not a percentage, then the ARIA tag
656
627
 
657
628
  If this component is describing the loading progress of a particular region of a page, the author should use `aria-describedby` to point to the status, and set the `aria-busy` attribute to `true` on the region until it is finished loading.
658
629
 
659
- | Attribute | Applied to | Outcome |
660
- | ---------------------------------------------------------------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
661
- | `role="progressbar"` | `.pf-c-progress__bar` | This role is used for an element that displays the progress status for a task that takes a long time or consists of several steps. |
662
- | `aria-valuenow=""` | `.pf-c-progress__bar` | This value needs to be updated as progress continues. |
663
- | `aria-valuemin="0"` | `.pf-c-progress__bar` | The minimum value for the progress bar. |
664
- | `aria-valuemax="100"` | `.pf-c-progress__bar` | The maximum value for the progress bar. If the progress is only defined using `aria-valuenow` (e.g a percentage), the value should be set to "100". If the progress is defined using `aria-valuetext`, then this value can be a number other than 100. For example, if `aria-valuetext` is "2 of 5 units", then `aria-valuemax` can be "5" and `aria-valuenow` can be "2". |
665
- | `aria-label="[id of .pf-c-progress__description]"` | `.pf-c-progress__bar` | Provides an accessible name for the progress component. |
666
- | `aria-labelledby="[id element that labels the progress]"` | `.pf-c-progress__bar` | Provides an accessible name for the progress component. |
667
- | `aria-describedby="[id of element that describes the progress]"` | `.pf-c-progress__bar` | Provides an accessible description for the progress component. |
668
- | `aria-valuetext="[loading state]"` | `.pf-c-progress__bar` | Provide a text string that communicates current status. Only use if the important information about status is included in the text string. Do not use if percentage is the most important value to communicate. Some screen readers will ignore the percentage value determined from `aria-valuenow` when `aria-valuetext` is used. |
669
- | `aria-hidden="true"` | `.pf-c-progress__status` | Hides the visible progress bar status from screen readers. This information is communicated by the aria attributes defined on the `.pf-c-progress__bar` element. |
630
+ | Attribute | Applied to | Outcome |
631
+ | -- | -- | -- |
632
+ | `role="progressbar"` | `.pf-c-progress__bar` | This role is used for an element that displays the progress status for a task that takes a long time or consists of several steps. |
633
+ | `aria-valuenow=""` | `.pf-c-progress__bar` | This value needs to be updated as progress continues. |
634
+ | `aria-valuemin="0"` | `.pf-c-progress__bar` | The minimum value for the progress bar. |
635
+ | `aria-valuemax="100"` | `.pf-c-progress__bar` | The maximum value for the progress bar. If the progress is only defined using `aria-valuenow` (e.g a percentage), the value should be set to "100". If the progress is defined using `aria-valuetext`, then this value can be a number other than 100. For example, if `aria-valuetext` is "2 of 5 units", then `aria-valuemax` can be "5" and `aria-valuenow` can be "2". |
636
+ | `aria-label="[id of .pf-c-progress__description]"` | `.pf-c-progress__bar` | Provides an accessible name for the progress component. |
637
+ | `aria-labelledby="[id element that labels the progress]"` | `.pf-c-progress__bar` | Provides an accessible name for the progress component. |
638
+ | `aria-describedby="[id of element that describes the progress]"` | `.pf-c-progress__bar` | Provides an accessible description for the progress component. |
639
+ | `aria-valuetext="[loading state]"` | `.pf-c-progress__bar` | Provide a text string that communicates current status. Only use if the important information about status is included in the text string. Do not use if percentage is the most important value to communicate. Some screen readers will ignore the percentage value determined from `aria-valuenow` when `aria-valuetext` is used. |
640
+ | `aria-hidden="true"` | `.pf-c-progress__status` | Hides the visible progress bar status from screen readers. This information is communicated by the aria attributes defined on the `.pf-c-progress__bar` element. |
670
641
 
671
642
  ### Usage
672
643
 
673
- | Class | Applied to | Outcome |
674
- | ----------------------------- | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
675
- | `.pf-c-progress` | `<div>` | Initiates a progress component. |
676
- | `.pf-c-progress__description` | `<div>` | The description for a progress bar. |
677
- | `.pf-c-progress__status` | `<div>` | Displays the % of progress and status icons. |
678
- | `.pf-c-progress__measure` | `<span>` | Displays the % complete. |
679
- | `.pf-c-progress__status-icon` | `<span>` | Displays the status icon. (optional) |
680
- | `.pf-c-progress__bar` | `<div>` | Displays across the entire width and represents the completed state. |
681
- | `.pf-c-progress__indicator` | `<div>` | Displays with the `.pf-c-progress__bar` to indicate the progress so far. |
682
- | `.pf-c-progress__helper-text` | `<div>` | Displays additional text below the progress bar. (optional) |
683
- | `.pf-m-lg` | `.pf-c-progress` | Modifies the progress bar to be larger. |
684
- | `.pf-m-sm` | `.pf-c-progress` | Modifies the progress bar to be smaller. |
685
- | `.pf-m-inside` | `.pf-c-progress` | Shows the measure within the progress indicator. NOTE: This option requires `.pf-m-lg`. |
686
- | `.pf-m-outside` | `.pf-c-progress` | Shows the measure and status icon to the right of the progress bar. |
687
- | `.pf-m-singleline` | `.pf-c-progress` | Modifies the progress component to exist on one row. If a measure is needed, use with `.pf-m-inside` or `.pf-m-outside` |
688
- | `.pf-m-success` | `.pf-c-progress` | Changes the appearance of the progess component to indicate a success state. |
689
- | `.pf-m-warning` | `.pf-c-progress` | Changes the appearance of the progess component to indicate a warning state. |
690
- | `.pf-m-danger` | `.pf-c-progress` | Changes the appearance of the progess component to indicate a danger (failure) state. |
691
- | `.pf-m-truncate` | `.pf-c-progress__description` | Modifies the description to display a single line and truncate any overflow text with ellipses. |
692
- | `.pf-m-static-width` | `.pf-c-progress.pf-m-outside .pf-c-progress__measure` | Modifies the measure element to have a static `min-width` that will hold 0-100%. Overridable by setting `--pf-c-progress__measure--m-static-width--MinWidth`. |
644
+ | Class | Applied to | Outcome |
645
+ | -- | -- | -- |
646
+ | `.pf-c-progress` | `<div>` | Initiates a progress component. |
647
+ | `.pf-c-progress__description` | `<div>` | The description for a progress bar. |
648
+ | `.pf-c-progress__status` | `<div>` | Displays the % of progress and status icons. |
649
+ | `.pf-c-progress__measure` | `<span>` | Displays the % complete. |
650
+ | `.pf-c-progress__status-icon` | `<span>` | Displays the status icon. (optional) |
651
+ | `.pf-c-progress__bar` | `<div>` | Displays across the entire width and represents the completed state. |
652
+ | `.pf-c-progress__indicator` | `<div>` | Displays with the `.pf-c-progress__bar` to indicate the progress so far. |
653
+ | `.pf-c-progress__helper-text` | `<div>` | Displays additional text below the progress bar. (optional) |
654
+ | `.pf-m-lg` | `.pf-c-progress` | Modifies the progress bar to be larger. |
655
+ | `.pf-m-sm` | `.pf-c-progress` | Modifies the progress bar to be smaller. |
656
+ | `.pf-m-inside` | `.pf-c-progress` | Shows the measure within the progress indicator. NOTE: This option requires `.pf-m-lg`.|
657
+ | `.pf-m-outside` | `.pf-c-progress` | Shows the measure and status icon to the right of the progress bar. |
658
+ | `.pf-m-singleline` | `.pf-c-progress` | Modifies the progress component to exist on one row. If a measure is needed, use with `.pf-m-inside` or `.pf-m-outside`|
659
+ | `.pf-m-success` | `.pf-c-progress` | Changes the appearance of the progess component to indicate a success state. |
660
+ | `.pf-m-warning` | `.pf-c-progress` | Changes the appearance of the progess component to indicate a warning state. |
661
+ | `.pf-m-danger` | `.pf-c-progress` | Changes the appearance of the progess component to indicate a danger (failure) state. |
662
+ | `.pf-m-truncate` | `.pf-c-progress__description` | Modifies the description to display a single line and truncate any overflow text with ellipses. |
663
+ | `.pf-m-static-width` | `.pf-c-progress.pf-m-outside .pf-c-progress__measure` | Modifies the measure element to have a static `min-width` that will hold 0-100%. Overridable by setting `--pf-c-progress__measure--m-static-width--MinWidth`. |
@@ -8,7 +8,7 @@ cssPrefix: pf-c-progress-stepper
8
8
  ### Basic
9
9
 
10
10
  ```html
11
- <ol class="pf-c-progress-stepper">
11
+ <ol class="pf-c-progress-stepper" role="list">
12
12
  <li
13
13
  class="pf-c-progress-stepper__step pf-m-success"
14
14
  aria-label="completed step,"
@@ -53,7 +53,7 @@ cssPrefix: pf-c-progress-stepper
53
53
  ### Basic with descriptions
54
54
 
55
55
  ```html
56
- <ol class="pf-c-progress-stepper">
56
+ <ol class="pf-c-progress-stepper" role="list">
57
57
  <li
58
58
  class="pf-c-progress-stepper__step pf-m-success"
59
59
  aria-label="completed step,"
@@ -107,7 +107,10 @@ cssPrefix: pf-c-progress-stepper
107
107
  ### Vertical, horizontal responsive
108
108
 
109
109
  ```html
110
- <ol class="pf-c-progress-stepper pf-m-vertical-on-lg pf-m-horizontal-on-2xl">
110
+ <ol
111
+ class="pf-c-progress-stepper pf-m-vertical-on-lg pf-m-horizontal-on-2xl"
112
+ role="list"
113
+ >
111
114
  <li
112
115
  class="pf-c-progress-stepper__step pf-m-success"
113
116
  aria-label="completed step,"
@@ -161,7 +164,7 @@ cssPrefix: pf-c-progress-stepper
161
164
  ### Center aligned with descriptions
162
165
 
163
166
  ```html
164
- <ol class="pf-c-progress-stepper pf-m-center">
167
+ <ol class="pf-c-progress-stepper pf-m-center" role="list">
165
168
  <li
166
169
  class="pf-c-progress-stepper__step pf-m-success"
167
170
  aria-label="completed step,"
@@ -215,7 +218,7 @@ cssPrefix: pf-c-progress-stepper
215
218
  ### Center aligned, vertical
216
219
 
217
220
  ```html
218
- <ol class="pf-c-progress-stepper pf-m-center pf-m-vertical">
221
+ <ol class="pf-c-progress-stepper pf-m-center pf-m-vertical" role="list">
219
222
  <li
220
223
  class="pf-c-progress-stepper__step pf-m-success"
221
224
  aria-label="completed step,"
@@ -269,7 +272,7 @@ cssPrefix: pf-c-progress-stepper
269
272
  ### Vertical with descriptions
270
273
 
271
274
  ```html
272
- <ol class="pf-c-progress-stepper pf-m-vertical">
275
+ <ol class="pf-c-progress-stepper pf-m-vertical" role="list">
273
276
  <li
274
277
  class="pf-c-progress-stepper__step pf-m-success"
275
278
  aria-label="completed step,"
@@ -323,7 +326,7 @@ cssPrefix: pf-c-progress-stepper
323
326
  ### Compact
324
327
 
325
328
  ```html
326
- <ol class="pf-c-progress-stepper pf-m-compact">
329
+ <ol class="pf-c-progress-stepper pf-m-compact" role="list">
327
330
  <li
328
331
  class="pf-c-progress-stepper__step pf-m-success"
329
332
  aria-label="completed step,"
@@ -377,7 +380,7 @@ cssPrefix: pf-c-progress-stepper
377
380
  ### Compact, vertical
378
381
 
379
382
  ```html
380
- <ol class="pf-c-progress-stepper pf-m-vertical pf-m-compact">
383
+ <ol class="pf-c-progress-stepper pf-m-vertical pf-m-compact" role="list">
381
384
  <li
382
385
  class="pf-c-progress-stepper__step pf-m-success"
383
386
  aria-label="completed step,"
@@ -433,6 +436,7 @@ cssPrefix: pf-c-progress-stepper
433
436
  ```html
434
437
  <ol
435
438
  class="pf-c-progress-stepper pf-m-vertical-on-lg pf-m-horizontal-on-xl pf-m-compact"
439
+ role="list"
436
440
  >
437
441
  <li
438
442
  class="pf-c-progress-stepper__step pf-m-success"
@@ -487,7 +491,10 @@ cssPrefix: pf-c-progress-stepper
487
491
  ### Compact, vertical, centered
488
492
 
489
493
  ```html
490
- <ol class="pf-c-progress-stepper pf-m-center pf-m-vertical pf-m-compact">
494
+ <ol
495
+ class="pf-c-progress-stepper pf-m-center pf-m-vertical pf-m-compact"
496
+ role="list"
497
+ >
491
498
  <li
492
499
  class="pf-c-progress-stepper__step pf-m-success"
493
500
  aria-label="completed step,"
@@ -541,7 +548,7 @@ cssPrefix: pf-c-progress-stepper
541
548
  ### Compact, centered
542
549
 
543
550
  ```html
544
- <ol class="pf-c-progress-stepper pf-m-center pf-m-compact">
551
+ <ol class="pf-c-progress-stepper pf-m-center pf-m-compact" role="list">
545
552
  <li
546
553
  class="pf-c-progress-stepper__step pf-m-success"
547
554
  aria-label="completed step,"
@@ -595,7 +602,7 @@ cssPrefix: pf-c-progress-stepper
595
602
  ### Basic with an issue
596
603
 
597
604
  ```html
598
- <ol class="pf-c-progress-stepper">
605
+ <ol class="pf-c-progress-stepper" role="list">
599
606
  <li
600
607
  class="pf-c-progress-stepper__step pf-m-success"
601
608
  aria-label="completed step,"
@@ -666,7 +673,7 @@ cssPrefix: pf-c-progress-stepper
666
673
  ### Basic with a failure
667
674
 
668
675
  ```html
669
- <ol class="pf-c-progress-stepper">
676
+ <ol class="pf-c-progress-stepper" role="list">
670
677
  <li
671
678
  class="pf-c-progress-stepper__step pf-m-success"
672
679
  aria-label="completed step,"
@@ -737,7 +744,7 @@ cssPrefix: pf-c-progress-stepper
737
744
  ### Basic with Patternfly icons
738
745
 
739
746
  ```html
740
- <ol class="pf-c-progress-stepper">
747
+ <ol class="pf-c-progress-stepper" role="list">
741
748
  <li
742
749
  class="pf-c-progress-stepper__step pf-m-success"
743
750
  aria-label="completed step,"
@@ -784,7 +791,7 @@ cssPrefix: pf-c-progress-stepper
784
791
  ### With help text
785
792
 
786
793
  ```html
787
- <ol class="pf-c-progress-stepper">
794
+ <ol class="pf-c-progress-stepper" role="list">
788
795
  <li
789
796
  class="pf-c-progress-stepper__step pf-m-success"
790
797
  aria-label="completed step,"
@@ -860,30 +867,30 @@ Steps can be modified with `.pf-m-success`, `.pf-m-warning`, `.pf-m-danger`, and
860
867
 
861
868
  ### Accessibility
862
869
 
863
- | Attribute | Applied to | Outcome |
864
- | ---------------------------------- | --------------------------------------- | --------------------------------------------------- |
865
- | `aria-label="[State of the step]"` | `.pf-c-progress-stepper__step` | Provides an accessible label for the step. |
866
- | `aria-hidden="true"` | `.pf-c-progress-stepper__step-icon <i>` | Hides icon for assistive technologies. **Required** |
870
+ | Attribute | Applied to | Outcome |
871
+ | -- | -- | -- |
872
+ | `aria-label="[State of the step]"` | `.pf-c-progress-stepper__step` | Provides an accessible label for the step. |
873
+ | `aria-hidden="true"` | `.pf-c-progress-stepper__step-icon <i>` | Hides icon for assistive technologies. **Required** |
867
874
 
868
875
  ### Usage
869
876
 
870
- | Class | Applied to | Outcome |
871
- | ------------------------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
872
- | `.pf-c-progress-stepper` | `<ol>` | Applies default progress stepper styling. **Required** |
873
- | `.pf-c-progress-stepper__step` | `<li>` | Defines each step of the progress stepper. **Required** |
874
- | `.progress-stepper__step-connector` | `<div>` | Creates the connecting line between steps **Required** |
875
- | `.progress-stepper__step-icon` | `<span>` | Creates the step node and contains the icon designating the type of step. This element is required, but may be empty if no icon is used for the step. **Required** |
876
- | `.progress-stepper__step-main` | `<div>` | Contains the main text content of the step. This element is required, but may be empty if title and description are not used. **Required** |
877
- | `.progress-stepper__step-title` | `<div>`, `<button>` | Contains the title of the step. **Note:** the step title is a `<button>` when it has `.pf-m-help-text` and is used to trigger a popover with help text. |
878
- | `.progress-stepper__step-description` | `<div>` | Contains the description of the step. |
879
- | `.pf-m-center` | `.pf-c-progress-stepper` | Modifies to center each step. |
880
- | `.pf-m-vertical{-on-[breakpoint]}` | `.pf-c-progress-stepper` | Modifies progress stepper vertical layout at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
881
- | `.pf-m-horizontal{-on-[breakpoint]}` | `.pf-c-progress-stepper` | Modifies progress stepper horizontal layout at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
882
- | `.pf-m-compact` | `.pf-c-progress-stepper` | Modifies for compact styling. |
883
- | `.pf-m-success` | `.pf-c-progress-stepper__step` | Modifies for success styling. |
884
- | `.pf-m-warning` | `.pf-c-progress-stepper__step` | Modifies for warning styling. |
885
- | `.pf-m-danger` | `.pf-c-progress-stepper__step` | Modifies for danger styling. |
886
- | `.pf-m-info` | `.pf-c-progress-stepper__step` | Modifies for info styling. |
887
- | `.pf-m-current` | `.pf-c-progress-stepper__step` | Modifies styling for the current step. |
888
- | `.pf-m-pending` | `.pf-c-progress-stepper__step` | Modifies styling for pending steps. |
889
- | `.pf-m-help-text` | `.pf-c-progress-stepper__step-title` | Modifies styling for steps that have help text. |
877
+ | Class | Applied to | Outcome |
878
+ | -- | -- | -- |
879
+ | `.pf-c-progress-stepper` | `<ol>` | Applies default progress stepper styling. **Required** |
880
+ | `.pf-c-progress-stepper__step` | `<li>` | Defines each step of the progress stepper. **Required** |
881
+ | `.progress-stepper__step-connector` | `<div>` | Creates the connecting line between steps **Required** |
882
+ | `.progress-stepper__step-icon` | `<span>` | Creates the step node and contains the icon designating the type of step. This element is required, but may be empty if no icon is used for the step. **Required** |
883
+ | `.progress-stepper__step-main` | `<div>` | Contains the main text content of the step. This element is required, but may be empty if title and description are not used. **Required** |
884
+ | `.progress-stepper__step-title` | `<div>`, `<button>` | Contains the title of the step. **Note:** the step title is a `<button>` when it has `.pf-m-help-text` and is used to trigger a popover with help text. |
885
+ | `.progress-stepper__step-description` | `<div>` | Contains the description of the step. |
886
+ | `.pf-m-center`| `.pf-c-progress-stepper` | Modifies to center each step. |
887
+ | `.pf-m-vertical{-on-[breakpoint]}`| `.pf-c-progress-stepper` | Modifies progress stepper vertical layout at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
888
+ | `.pf-m-horizontal{-on-[breakpoint]}`| `.pf-c-progress-stepper` | Modifies progress stepper horizontal layout at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
889
+ | `.pf-m-compact`| `.pf-c-progress-stepper` | Modifies for compact styling. |
890
+ | `.pf-m-success`| `.pf-c-progress-stepper__step` | Modifies for success styling. |
891
+ | `.pf-m-warning`| `.pf-c-progress-stepper__step` | Modifies for warning styling. |
892
+ | `.pf-m-danger`| `.pf-c-progress-stepper__step` | Modifies for danger styling. |
893
+ | `.pf-m-info`| `.pf-c-progress-stepper__step` | Modifies for info styling. |
894
+ | `.pf-m-current`| `.pf-c-progress-stepper__step` | Modifies styling for the current step. |
895
+ | `.pf-m-pending`| `.pf-c-progress-stepper__step` | Modifies styling for pending steps. |
896
+ | `.pf-m-help-text`| `.pf-c-progress-stepper__step-title` | Modifies styling for steps that have help text. |
@@ -195,18 +195,18 @@ If you extend this component or modify the styles of this component, then make s
195
195
 
196
196
  ### Accessibility
197
197
 
198
- | Attribute | Applied to | Outcome |
199
- | ---------- | ---------------------- | ----------------------------------------------------------------------------------------------------------------- |
198
+ | Attribute | Applied to | Outcome |
199
+ | -- | -- | -- |
200
200
  | `disabled` | `<input type="radio">` | Indicates that the element is unavailable and removes it from keyboard focus. **Required when input is disabled** |
201
201
 
202
202
  ### Usage
203
203
 
204
- | Class | Applied to | Outcome |
205
- | -------------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------ |
206
- | `.pf-c-radio` | `<div>`, `<label>` | Initiates the radio component. **Required** |
207
- | `.pf-c-radio__input` | `<input type="radio">` | Initiates a radio input. **Required** |
208
- | `.pf-c-radio__label` | `<label>`, `<span>` | Initiates a label. **Required** |
209
- | `.pf-c-radio__description` | `<span>` | Initiates a radio description. |
210
- | `.pf-c-radio__body` | `<span>` | Initiates a radio body. |
211
- | `.pf-m-standalone` | `.pf-c-radio` | Modifies the radio component for use with a standalone `<input type="radio">`. **Required when there is no label** |
212
- | `.pf-m-disabled` | `.pf-c-radio__label` | Modifies the radio component for the disabled state. **Required when input is disabled** |
204
+ | Class | Applied to | Outcome |
205
+ | -- | -- | -- |
206
+ | `.pf-c-radio` | `<div>`, `<label>` | Initiates the radio component. **Required** |
207
+ | `.pf-c-radio__input` | `<input type="radio">` | Initiates a radio input. **Required** |
208
+ | `.pf-c-radio__label` | `<label>`, `<span>` | Initiates a label. **Required** |
209
+ | `.pf-c-radio__description` | `<span>` | Initiates a radio description. |
210
+ | `.pf-c-radio__body` | `<span>` | Initiates a radio body. |
211
+ | `.pf-m-standalone` | `.pf-c-radio` | Modifies the radio component for use with a standalone `<input type="radio">`. **Required when there is no label** |
212
+ | `.pf-m-disabled` | `.pf-c-radio__label` | Modifies the radio component for the disabled state. **Required when input is disabled** |
@@ -581,40 +581,40 @@ cssPrefix: pf-c-search-input
581
581
 
582
582
  ### Accessibility
583
583
 
584
- | Attributes | Applied to | Outcome |
585
- | -------------------------------------- | ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
586
- | `aria-hidden="true"` | `.pf-c-search-input__icon > *` | Hides the search icon from assistive technologies. **Required** |
587
- | `aria-label="Previous"` | `.pf-c-search-input__nav > .pf-c-button` | Provides an accessible label for the previous nav button. **Required** |
588
- | `aria-label="Next"` | `.pf-c-search-input__nav > .pf-c-button` | Provides an accessible label for the next nav button. **Required** |
589
- | `aria-label="[descriptive text]"` | `.pf-c-search-input__text-input` | Provides an accessible label for the search input. **Required** |
590
- | `aria-label="Clear"` | `.pf-c-search-input__clear > .pf-c-button` | Provides an accessible label for the clear button. **Required** |
591
- | `aria-label="Search"` | `.pf-c-button` | Provides an accessible label for the search button. **Required** |
592
- | `aria-label="Advanced search"` | `.pf-c-button` | Provides an accessible label for the advanced search toggle. **Required** |
593
- | `aria-expanded="[true/false]"` | `.pf-c-button` | Indicates whether the advanced search menu is expanded or collapsed. **Required** |
594
- | `id` | `.pf-c-search-input__text-input` | Assigns an ID that is used with `aria-labelledby` on `.pf-c-search-input__menu-list`. **Required when using autocomplete** |
595
- | `aria-labelledby="[id of text input]"` | `.pf-c-search-input__menu-list` | Gives the menu list an accessible label. **Required when using autocomplete** |
596
- | `disabled` | `.pf-c-search-input__text-input.pf-m-hint` | Disables the hint text input from being submitted with the search input. **Required when using hint text** |
597
- | `aria-hidden="true"` | `.pf-c-search-input__text-input.pf-m-hint` | Hides the hint text input from assistive technology. **Required when using hint text** |
584
+ | Attributes | Applied to | Outcome |
585
+ | -- | -- | -- |
586
+ | `aria-hidden="true"` | `.pf-c-search-input__icon > *` | Hides the search icon from assistive technologies. **Required** |
587
+ | `aria-label="Previous"` | `.pf-c-search-input__nav > .pf-c-button` | Provides an accessible label for the previous nav button. **Required** |
588
+ | `aria-label="Next"` | `.pf-c-search-input__nav > .pf-c-button` | Provides an accessible label for the next nav button. **Required** |
589
+ | `aria-label="[descriptive text]"` | `.pf-c-search-input__text-input` | Provides an accessible label for the search input. **Required** |
590
+ | `aria-label="Clear"` | `.pf-c-search-input__clear > .pf-c-button` | Provides an accessible label for the clear button. **Required** |
591
+ | `aria-label="Search"` | `.pf-c-button` | Provides an accessible label for the search button. **Required** |
592
+ | `aria-label="Advanced search"` | `.pf-c-button` | Provides an accessible label for the advanced search toggle. **Required** |
593
+ | `aria-expanded="[true/false]"` | `.pf-c-button` | Indicates whether the advanced search menu is expanded or collapsed. **Required** |
594
+ | `id` | `.pf-c-search-input__text-input` | Assigns an ID that is used with `aria-labelledby` on `.pf-c-search-input__menu-list`. **Required when using autocomplete** |
595
+ | `aria-labelledby="[id of text input]"` | `.pf-c-search-input__menu-list` | Gives the menu list an accessible label. **Required when using autocomplete** |
596
+ | `disabled` | `.pf-c-search-input__text-input.pf-m-hint` | Disables the hint text input from being submitted with the search input. **Required when using hint text** |
597
+ | `aria-hidden="true"` | `.pf-c-search-input__text-input.pf-m-hint` | Hides the hint text input from assistive technology. **Required when using hint text** |
598
598
 
599
599
  ### Usage
600
600
 
601
- | Class | Applied to | Outcome |
602
- | ------------------------------------ | -------------------------------- | ----------------------------------------------------------------------------------------- |
603
- | `.pf-c-search-input` | `<div>` | Initiates the custom search input component. **Required** |
604
- | `.pf-c-search-input__bar` | `<div>` | Initiates the custom search input bar. **Required** |
605
- | `.pf-c-search-input__text` | `<span>` | Initiates the text area. **Required** |
606
- | `.pf-c-search-input__text-input` | `<input>` | Initiates the search input. **Required** |
607
- | `.pf-c-search-input__icon` | `<span>` | Initiates the search icon container. **Required** |
608
- | `.pf-c-search-input__utilities` | `<span>` | Initiates the utilities area beside the search input. |
609
- | `.pf-c-search-input__count` | `<span>` | Initiates the item count container. |
610
- | `.pf-c-search-input__nav` | `<span>` | Initiates the navigable buttons container. |
611
- | `.pf-c-search-input__clear` | `<span>` | Initiates the clear button container. **Required when there is text in the search input** |
612
- | `.pf-c-search-input__menu` | `<div>` | Initiates the search input dropdown menu. |
613
- | `.pf-c-search-input__menu-body` | `<div>` | Initiates the search input dropdown menu body element. |
614
- | `.pf-c-search-input__menu-list` | `<div>` | Initiates the search input dropdown menu list. |
615
- | `.pf-c-search-input__menu-list-item` | `<div>` | Initiates the search input dropdown menu list item. |
616
- | `.pf-c-search-input__menu-item` | `<div>` | Initiates the search input dropdown menu item. |
617
- | `.pf-c-search-input__menu-item-text` | `<span>` | Initiates the search input dropdown menu item text. |
618
- | `.pf-m-top` | `.pf-c-search-input__menu` | Modifies the menu to display above the toggle. |
619
- | `.pf-m-static` | `.pf-c-search-input__menu` | Modifies the menu to be statically positioned to support custom positioning. |
620
- | `.pf-m-hint` | `.pf-c-search-input__text-input` | Modifies the text input for hint text styles. |
601
+ | Class | Applied to | Outcome |
602
+ | -- | -- | -- |
603
+ | `.pf-c-search-input` | `<div>` | Initiates the custom search input component. **Required** |
604
+ | `.pf-c-search-input__bar` | `<div>` | Initiates the custom search input bar. **Required** |
605
+ | `.pf-c-search-input__text` | `<span>` | Initiates the text area. **Required** |
606
+ | `.pf-c-search-input__text-input` | `<input>` | Initiates the search input. **Required** |
607
+ | `.pf-c-search-input__icon` | `<span>` | Initiates the search icon container. **Required** |
608
+ | `.pf-c-search-input__utilities` | `<span>` | Initiates the utilities area beside the search input. |
609
+ | `.pf-c-search-input__count` | `<span>` | Initiates the item count container. |
610
+ | `.pf-c-search-input__nav` | `<span>` | Initiates the navigable buttons container. |
611
+ | `.pf-c-search-input__clear` | `<span>` | Initiates the clear button container. **Required when there is text in the search input** |
612
+ | `.pf-c-search-input__menu` | `<div>` | Initiates the search input dropdown menu. |
613
+ | `.pf-c-search-input__menu-body` | `<div>` | Initiates the search input dropdown menu body element. |
614
+ | `.pf-c-search-input__menu-list` | `<div>` | Initiates the search input dropdown menu list. |
615
+ | `.pf-c-search-input__menu-list-item` | `<div>` | Initiates the search input dropdown menu list item. |
616
+ | `.pf-c-search-input__menu-item` | `<div>` | Initiates the search input dropdown menu item. |
617
+ | `.pf-c-search-input__menu-item-text` | `<span>` | Initiates the search input dropdown menu item text. |
618
+ | `.pf-m-top` | `.pf-c-search-input__menu` | Modifies the menu to display above the toggle. |
619
+ | `.pf-m-static` | `.pf-c-search-input__menu` | Modifies the menu to be statically positioned to support custom positioning. |
620
+ | `.pf-m-hint` | `.pf-c-search-input__text-input` | Modifies the text input for hint text styles. |