@patternfly/patternfly 6.3.0 → 6.4.0-prerelease.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 (140) hide show
  1. package/README.md +23 -15
  2. package/base/normalize.scss +4 -0
  3. package/base/patternfly-variables.css +1172 -1
  4. package/base/patternfly-variables.scss +10 -0
  5. package/base/tokens/tokens-charts-dark.scss +1 -1
  6. package/base/tokens/tokens-charts.scss +1 -1
  7. package/base/tokens/tokens-dark.scss +13 -1
  8. package/base/tokens/tokens-default.scss +60 -2
  9. package/base/tokens/tokens-highcontrast-dark.scss +396 -0
  10. package/base/tokens/tokens-highcontrast.scss +703 -0
  11. package/base/tokens/tokens-local.scss +1 -0
  12. package/base/tokens/tokens-palette.scss +9 -1
  13. package/components/Accordion/accordion.css +42 -15
  14. package/components/Accordion/accordion.scss +48 -18
  15. package/components/Alert/alert-group.css +17 -15
  16. package/components/Alert/alert-group.scss +22 -18
  17. package/components/Badge/badge.css +2 -0
  18. package/components/Badge/badge.scss +2 -0
  19. package/components/Banner/banner.css +4 -0
  20. package/components/Banner/banner.scss +4 -0
  21. package/components/Button/button.css +34 -4
  22. package/components/Button/button.scss +36 -6
  23. package/components/CalendarMonth/calendar-month.css +35 -4
  24. package/components/CalendarMonth/calendar-month.scss +38 -4
  25. package/components/Card/card.css +7 -4
  26. package/components/Card/card.scss +7 -4
  27. package/components/CodeBlock/code-block.css +3 -0
  28. package/components/CodeBlock/code-block.scss +3 -0
  29. package/components/CodeEditor/code-editor.css +23 -3
  30. package/components/CodeEditor/code-editor.scss +28 -5
  31. package/components/DatePicker/date-picker.css +3 -0
  32. package/components/DatePicker/date-picker.scss +4 -0
  33. package/components/Divider/divider.css +2 -0
  34. package/components/Divider/divider.scss +2 -0
  35. package/components/Drawer/drawer.css +46 -41
  36. package/components/Drawer/drawer.scss +45 -36
  37. package/components/DualListSelector/dual-list-selector.css +21 -4
  38. package/components/DualListSelector/dual-list-selector.scss +23 -4
  39. package/components/ExpandableSection/expandable-section.css +6 -2
  40. package/components/ExpandableSection/expandable-section.scss +7 -3
  41. package/components/FormControl/form-control.css +6 -7
  42. package/components/FormControl/form-control.scss +8 -10
  43. package/components/Label/label.css +20 -11
  44. package/components/Label/label.scss +21 -11
  45. package/components/Login/login.css +3 -0
  46. package/components/Login/login.scss +3 -0
  47. package/components/Menu/menu.css +18 -0
  48. package/components/Menu/menu.scss +19 -1
  49. package/components/MenuToggle/menu-toggle.css +13 -6
  50. package/components/MenuToggle/menu-toggle.scss +13 -6
  51. package/components/ModalBox/modal-box.css +3 -0
  52. package/components/ModalBox/modal-box.scss +3 -0
  53. package/components/Nav/nav.css +17 -0
  54. package/components/Nav/nav.scss +20 -0
  55. package/components/Page/page.css +73 -25
  56. package/components/Page/page.scss +60 -19
  57. package/components/Pagination/pagination.css +15 -2
  58. package/components/Pagination/pagination.scss +15 -2
  59. package/components/Panel/panel.css +14 -1
  60. package/components/Panel/panel.scss +14 -1
  61. package/components/Popover/popover.css +4 -0
  62. package/components/Popover/popover.scss +4 -0
  63. package/components/Progress/progress.css +19 -0
  64. package/components/Progress/progress.scss +22 -0
  65. package/components/Sidebar/sidebar.css +7 -0
  66. package/components/Sidebar/sidebar.scss +7 -0
  67. package/components/SimpleList/simple-list.css +15 -0
  68. package/components/SimpleList/simple-list.scss +17 -1
  69. package/components/Slider/slider.css +9 -0
  70. package/components/Slider/slider.scss +9 -0
  71. package/components/Switch/switch.css +7 -1
  72. package/components/Switch/switch.scss +7 -1
  73. package/components/Table/table.css +41 -1
  74. package/components/Table/table.scss +48 -2
  75. package/components/Tabs/tabs.css +18 -7
  76. package/components/Tabs/tabs.scss +19 -11
  77. package/components/TextInputGroup/text-input-group.css +7 -0
  78. package/components/TextInputGroup/text-input-group.scss +8 -1
  79. package/components/ToggleGroup/toggle-group.css +18 -9
  80. package/components/ToggleGroup/toggle-group.scss +24 -17
  81. package/components/Toolbar/toolbar.css +7 -0
  82. package/components/Toolbar/toolbar.scss +7 -0
  83. package/components/TreeView/tree-view.css +15 -0
  84. package/components/TreeView/tree-view.scss +17 -0
  85. package/components/Wizard/wizard.css +37 -6
  86. package/components/Wizard/wizard.scss +44 -10
  87. package/components/_index.css +631 -168
  88. package/docs/components/Alert/examples/Alert.md +3 -4
  89. package/docs/components/Button/examples/Button.md +1 -3
  90. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +25 -33
  91. package/docs/components/CodeBlock/examples/CodeBlock.md +13 -7
  92. package/docs/components/CodeEditor/examples/CodeEditor.md +20 -6
  93. package/docs/components/DataList/examples/DataList.md +66 -184
  94. package/docs/components/DatePicker/examples/DatePicker.md +4 -1
  95. package/docs/components/DescriptionList/examples/DescriptionList.md +78 -22
  96. package/docs/components/DualListSelector/examples/DualListSelector.md +0 -195
  97. package/docs/components/EmptyState/examples/EmptyState.md +6 -6
  98. package/docs/components/ExpandableSection/examples/ExpandableSection.md +92 -18
  99. package/docs/components/FileUpload/examples/FileUpload.md +4 -3
  100. package/docs/components/Form/examples/Form.md +19 -18
  101. package/docs/components/HelperText/examples/HelperText.md +65 -75
  102. package/docs/components/Hint/examples/Hint.md +3 -3
  103. package/docs/components/Icon/examples/Icon.md +0 -10
  104. package/docs/components/InlineEdit/examples/InlineEdit.md +0 -4
  105. package/docs/components/JumpLinks/examples/JumpLinks.md +164 -77
  106. package/docs/components/Label/examples/Label.md +2 -2
  107. package/docs/components/Login/examples/Login.md +42 -37
  108. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +32 -6
  109. package/docs/components/Pagination/examples/Pagination.md +111 -0
  110. package/docs/components/Popover/examples/Popover.md +0 -4
  111. package/docs/components/Progress/examples/Progress.md +223 -210
  112. package/docs/components/Skeleton/examples/Skeleton.md +21 -7
  113. package/docs/components/Table/examples/Table.md +947 -1423
  114. package/docs/components/TextInputGroup/examples/TextInputGroup.md +126 -47
  115. package/docs/components/Title/examples/Title.md +8 -8
  116. package/docs/components/Truncate/examples/Truncate.md +8 -6
  117. package/docs/components/Wizard/examples/Wizard.md +583 -0
  118. package/docs/demos/Alert/examples/Alert.md +28 -19
  119. package/docs/demos/Card/examples/Card.md +8 -5
  120. package/docs/demos/CardView/examples/CardView.md +81 -85
  121. package/docs/demos/Dashboard/examples/Dashboard.md +10 -22
  122. package/docs/demos/DataList/examples/DataList.md +528 -168
  123. package/docs/demos/DescriptionList/examples/DescriptionList.md +13 -3
  124. package/docs/demos/Drawer/examples/Drawer.md +0 -2
  125. package/docs/demos/Form/examples/BasicForms.md +93 -62
  126. package/docs/demos/HelperText/examples/HelperText.md +31 -23
  127. package/docs/demos/JumpLinks/examples/JumpLinks.md +0 -5
  128. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +4 -4
  129. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +56 -38
  130. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +726 -312
  131. package/docs/demos/Skeleton/examples/Skeleton.md +3 -1
  132. package/docs/demos/Table/examples/Table.md +5 -20
  133. package/docs/demos/Tabs/examples/Tabs.md +2 -1
  134. package/package.json +12 -7
  135. package/patternfly-base-no-globals.css +1172 -1
  136. package/patternfly-base.css +1176 -1
  137. package/patternfly-no-globals.css +1803 -169
  138. package/patternfly.css +1838 -200
  139. package/patternfly.min.css +1 -1
  140. package/patternfly.min.css.map +1 -1
@@ -16,7 +16,7 @@ cssPrefix: pf-v6-c-text-input-group
16
16
  class="pf-v6-c-text-input-group__text-input"
17
17
  type="text"
18
18
  value
19
- aria-label="Type to filter"
19
+ aria-label="Basic"
20
20
  />
21
21
  </span>
22
22
  </div>
@@ -35,7 +35,7 @@ cssPrefix: pf-v6-c-text-input-group
35
35
  type="text"
36
36
  disabled
37
37
  value="Disabled"
38
- aria-label="Disabled text input group example input"
38
+ aria-label="Disabled"
39
39
  />
40
40
  </span>
41
41
  </div>
@@ -56,7 +56,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
56
56
  class="pf-v6-c-text-input-group__text-input"
57
57
  type="text"
58
58
  value="Text input group with plain styling"
59
- aria-label="Type to filter"
59
+ aria-label="Plain"
60
60
  />
61
61
  </span>
62
62
  </div>
@@ -78,7 +78,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
78
78
  type="text"
79
79
  placeholder="placeholder"
80
80
  value
81
- aria-label="Type to filter"
81
+ aria-label="Utilities and icon with placeholder"
82
82
  />
83
83
  </span>
84
84
  </div>
@@ -86,7 +86,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
86
86
  <button
87
87
  class="pf-v6-c-button pf-m-plain"
88
88
  type="button"
89
- aria-label="Clear input"
89
+ aria-label="Clear utilities and icon with placeholder example"
90
90
  >
91
91
  <span class="pf-v6-c-button__icon">
92
92
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -107,7 +107,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
107
107
  class="pf-v6-c-text-input-group__text-input"
108
108
  type="text"
109
109
  value="Success validation"
110
- aria-label="Type to filter"
110
+ aria-label="Success validation"
111
111
  />
112
112
  <span class="pf-v6-c-text-input-group__icon pf-m-status">
113
113
  <i aria-hidden="true" class="fas fa-check-circle"></i>
@@ -126,7 +126,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
126
126
  class="pf-v6-c-text-input-group__text-input"
127
127
  type="text"
128
128
  value="Warning validation with icon at start"
129
- aria-label="Type to filter"
129
+ aria-label="Warning validation"
130
130
  />
131
131
  <span class="pf-v6-c-text-input-group__icon pf-m-status">
132
132
  <i aria-hidden="true" class="fas fa-exclamation-triangle"></i>
@@ -145,6 +145,34 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
145
145
  class="pf-v6-c-text-input-group__text-input"
146
146
  type="text"
147
147
  value="Error validation with icon at start and utilities"
148
+ aria-label="Error validation"
149
+ />
150
+ <span class="pf-v6-c-text-input-group__icon pf-m-status">
151
+ <i aria-hidden="true" class="fas fa-exclamation-circle"></i>
152
+ </span>
153
+ </span>
154
+ </div>
155
+ <div class="pf-v6-c-text-input-group__utilities">
156
+ <button
157
+ class="pf-v6-c-button pf-m-plain"
158
+ type="button"
159
+ aria-label="Clear error validation example"
160
+ >
161
+ <span class="pf-v6-c-button__text">
162
+ <i class="fas fa-times fa-fw" aria-hidden="true"></i>
163
+ </span>
164
+ </button>
165
+ </div>
166
+ </div>
167
+
168
+ <br />
169
+ <div class="pf-v6-c-text-input-group pf-m-error">
170
+ <div class="pf-v6-c-text-input-group__main">
171
+ <span class="pf-v6-c-text-input-group__text">
172
+ <input
173
+ class="pf-v6-c-text-input-group__text-input"
174
+ type="text"
175
+ value="Error validation with no icon but with utilities"
148
176
  aria-label="Type to filter"
149
177
  />
150
178
  <span class="pf-v6-c-text-input-group__icon pf-m-status">
@@ -334,7 +362,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
334
362
  class="pf-v6-c-text-input-group__text-input"
335
363
  type="text"
336
364
  value
337
- aria-label="Type to filter"
365
+ aria-label="Filters"
338
366
  />
339
367
  </span>
340
368
  </div>
@@ -342,7 +370,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
342
370
  <button
343
371
  class="pf-v6-c-button pf-m-plain"
344
372
  type="button"
345
- aria-label="Clear input"
373
+ aria-label="Clear filter example"
346
374
  >
347
375
  <span class="pf-v6-c-button__icon">
348
376
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -695,7 +723,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
695
723
  class="pf-v6-c-text-input-group__text-input"
696
724
  type="text"
697
725
  value
698
- aria-label="Type to filter"
726
+ aria-label="Filters expanded"
699
727
  />
700
728
  </span>
701
729
  </div>
@@ -703,7 +731,7 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
703
731
  <button
704
732
  class="pf-v6-c-button pf-m-plain"
705
733
  type="button"
706
- aria-label="Clear input"
734
+ aria-label="Clear filters expanded example"
707
735
  >
708
736
  <span class="pf-v6-c-button__icon">
709
737
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -755,7 +783,7 @@ The React implementation can be found in the [search input](/components/search-i
755
783
  type="text"
756
784
  placeholder="Find by name"
757
785
  value
758
- aria-label="Search input"
786
+ aria-label="Search input group"
759
787
  />
760
788
  </span>
761
789
  </div>
@@ -777,7 +805,7 @@ The React implementation can be found in the [search input](/components/search-i
777
805
  type="text"
778
806
  placeholder="Find by name"
779
807
  value="Joh"
780
- aria-label="Search input"
808
+ aria-label="Search input group no match"
781
809
  />
782
810
  </span>
783
811
  </div>
@@ -785,7 +813,7 @@ The React implementation can be found in the [search input](/components/search-i
785
813
  <button
786
814
  class="pf-v6-c-button pf-m-plain"
787
815
  type="button"
788
- aria-label="Clear input"
816
+ aria-label="Clear search input group no match"
789
817
  >
790
818
  <span class="pf-v6-c-button__icon">
791
819
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -810,16 +838,19 @@ The React implementation can be found in the [search input](/components/search-i
810
838
  type="text"
811
839
  placeholder="Find by name"
812
840
  value="John Doe"
813
- aria-label="Search input"
841
+ aria-label="Search input group match with result count"
814
842
  />
815
843
  </span>
816
844
  </div>
817
845
  <div class="pf-v6-c-text-input-group__utilities">
818
- <span class="pf-v6-c-badge pf-m-read">3</span>
846
+ <span class="pf-v6-c-badge pf-m-read">
847
+ <span aria-hidden="true">3</span>
848
+ <span class="pf-v6-screen-reader">3 matching results</span>
849
+ </span>
819
850
  <button
820
851
  class="pf-v6-c-button pf-m-plain"
821
852
  type="button"
822
- aria-label="Clear input"
853
+ aria-label="Clear search input group match with result count"
823
854
  >
824
855
  <span class="pf-v6-c-button__icon">
825
856
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -844,16 +875,36 @@ The React implementation can be found in the [search input](/components/search-i
844
875
  type="text"
845
876
  placeholder="Find by name"
846
877
  value="John Doe"
847
- aria-label="Search input"
878
+ aria-label="Search input group match with navigable options"
848
879
  />
849
880
  </span>
850
881
  </div>
851
882
  <div class="pf-v6-c-text-input-group__utilities">
852
- <span class="pf-v6-c-badge pf-m-read">1 / 3</span>
883
+ <span class="pf-v6-c-badge pf-m-read">
884
+ <span aria-hidden="true">1 / 3</span>
885
+ <span class="pf-v6-screen-reader">Showing result 1 / 3</span>
886
+ </span>
887
+ <div class="pf-v6-c-text-input-group__group">
888
+ <button
889
+ class="pf-v6-c-button pf-m-plain"
890
+ type="button"
891
+ aria-label="Previous"
892
+ disabled
893
+ >
894
+ <span class="pf-v6-c-button__icon">
895
+ <i class="fas fa-angle-up fa-fw" aria-hidden="true"></i>
896
+ </span>
897
+ </button>
898
+ <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Next">
899
+ <span class="pf-v6-c-button__icon">
900
+ <i class="fas fa-angle-down fa-fw" aria-hidden="true"></i>
901
+ </span>
902
+ </button>
903
+ </div>
853
904
  <button
854
905
  class="pf-v6-c-button pf-m-plain"
855
906
  type="button"
856
- aria-label="Clear input"
907
+ aria-label="Clear search input group match with navigable options"
857
908
  >
858
909
  <span class="pf-v6-c-button__icon">
859
910
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -882,7 +933,7 @@ The React implementation can be found in the [search input](/components/search-i
882
933
  type="text"
883
934
  placeholder="Search"
884
935
  value
885
- aria-label="Search input"
936
+ aria-label="Search input group collapsed"
886
937
  />
887
938
  </span>
888
939
  </div>
@@ -892,7 +943,7 @@ The React implementation can be found in the [search input](/components/search-i
892
943
  <button
893
944
  class="pf-v6-c-button pf-m-plain"
894
945
  type="button"
895
- aria-label="Open search"
946
+ aria-label="Open search input group collapsed"
896
947
  >
897
948
  <span class="pf-v6-c-button__icon">
898
949
  <i class="fas fa-search fa-fw" aria-hidden="true"></i>
@@ -900,7 +951,11 @@ The React implementation can be found in the [search input](/components/search-i
900
951
  </button>
901
952
  </div>
902
953
  <div class="pf-v6-c-input-group__item pf-m-search-action pf-m-plain">
903
- <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Close">
954
+ <button
955
+ class="pf-v6-c-button pf-m-plain"
956
+ type="button"
957
+ aria-label="Close search input group expandable"
958
+ >
904
959
  <span class="pf-v6-c-button__icon">
905
960
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
906
961
  </span>
@@ -926,7 +981,7 @@ The React implementation can be found in the [search input](/components/search-i
926
981
  type="text"
927
982
  placeholder="Search"
928
983
  value
929
- aria-label="Search input"
984
+ aria-label="Search input group expanded"
930
985
  />
931
986
  </span>
932
987
  </div>
@@ -936,7 +991,7 @@ The React implementation can be found in the [search input](/components/search-i
936
991
  <button
937
992
  class="pf-v6-c-button pf-m-plain"
938
993
  type="button"
939
- aria-label="Open search"
994
+ aria-label="Open search input group collapsed"
940
995
  >
941
996
  <span class="pf-v6-c-button__icon">
942
997
  <i class="fas fa-search fa-fw" aria-hidden="true"></i>
@@ -944,7 +999,11 @@ The React implementation can be found in the [search input](/components/search-i
944
999
  </button>
945
1000
  </div>
946
1001
  <div class="pf-v6-c-input-group__item pf-m-search-action pf-m-plain">
947
- <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Close">
1002
+ <button
1003
+ class="pf-v6-c-button pf-m-plain"
1004
+ type="button"
1005
+ aria-label="Close search input group expandable"
1006
+ >
948
1007
  <span class="pf-v6-c-button__icon">
949
1008
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
950
1009
  </span>
@@ -970,7 +1029,7 @@ The React implementation can be found in the [search input](/components/search-i
970
1029
  type="text"
971
1030
  placeholder="Find by name"
972
1031
  value
973
- aria-label="Search input"
1032
+ aria-label="Search input group with submit button"
974
1033
  />
975
1034
  </span>
976
1035
  </div>
@@ -980,7 +1039,7 @@ The React implementation can be found in the [search input](/components/search-i
980
1039
  <button
981
1040
  class="pf-v6-c-button pf-m-control"
982
1041
  type="submit"
983
- aria-label="Search"
1042
+ aria-label="Submit search input group"
984
1043
  >
985
1044
  <span class="pf-v6-c-button__icon">
986
1045
  <i class="fas fa-arrow-right" aria-hidden="true"></i>
@@ -1006,7 +1065,7 @@ The React implementation can be found in the [search input](/components/search-i
1006
1065
  class="pf-v6-c-text-input-group__text-input"
1007
1066
  type="text"
1008
1067
  value="username:root firstname:ned"
1009
- aria-label="Search input"
1068
+ aria-label="Search input group advanced search"
1010
1069
  />
1011
1070
  </span>
1012
1071
  </div>
@@ -1014,7 +1073,7 @@ The React implementation can be found in the [search input](/components/search-i
1014
1073
  <button
1015
1074
  class="pf-v6-c-button pf-m-plain"
1016
1075
  type="button"
1017
- aria-label="Clear input"
1076
+ aria-label="Clear advance search input group collapsed"
1018
1077
  >
1019
1078
  <span class="pf-v6-c-button__icon">
1020
1079
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -1028,7 +1087,7 @@ The React implementation can be found in the [search input](/components/search-i
1028
1087
  class="pf-v6-c-button pf-m-control"
1029
1088
  type="button"
1030
1089
  aria-expanded="false"
1031
- aria-label="Advanced search"
1090
+ aria-label="Advanced search collapsed"
1032
1091
  >
1033
1092
  <span class="pf-v6-c-button__icon">
1034
1093
  <i class="fas fa-caret-down" aria-hidden="true"></i>
@@ -1039,7 +1098,7 @@ The React implementation can be found in the [search input](/components/search-i
1039
1098
  <button
1040
1099
  class="pf-v6-c-button pf-m-control"
1041
1100
  type="submit"
1042
- aria-label="Search"
1101
+ aria-label="Search advance search input group collapsed"
1043
1102
  >
1044
1103
  <span class="pf-v6-c-button__icon">
1045
1104
  <i class="fas fa-arrow-right" aria-hidden="true"></i>
@@ -1065,7 +1124,7 @@ The React implementation can be found in the [search input](/components/search-i
1065
1124
  class="pf-v6-c-text-input-group__text-input"
1066
1125
  type="text"
1067
1126
  value="username:root firstname:ned"
1068
- aria-label="Search input"
1127
+ aria-label="Search input group advanced search expanded"
1069
1128
  />
1070
1129
  </span>
1071
1130
  </div>
@@ -1073,7 +1132,7 @@ The React implementation can be found in the [search input](/components/search-i
1073
1132
  <button
1074
1133
  class="pf-v6-c-button pf-m-plain"
1075
1134
  type="button"
1076
- aria-label="Clear input"
1135
+ aria-label="Clear advance search input group expanded"
1077
1136
  >
1078
1137
  <span class="pf-v6-c-button__icon">
1079
1138
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -1087,7 +1146,7 @@ The React implementation can be found in the [search input](/components/search-i
1087
1146
  class="pf-v6-c-button pf-m-expanded pf-m-control"
1088
1147
  type="button"
1089
1148
  aria-expanded="true"
1090
- aria-label="Advanced search"
1149
+ aria-label="Advanced search expanded"
1091
1150
  >
1092
1151
  <span class="pf-v6-c-button__icon">
1093
1152
  <i class="fas fa-caret-down" aria-hidden="true"></i>
@@ -1098,7 +1157,7 @@ The React implementation can be found in the [search input](/components/search-i
1098
1157
  <button
1099
1158
  class="pf-v6-c-button pf-m-control"
1100
1159
  type="submit"
1101
- aria-label="Search"
1160
+ aria-label="Search advance search input group expanded"
1102
1161
  >
1103
1162
  <span class="pf-v6-c-button__icon">
1104
1163
  <i class="fas fa-arrow-right" aria-hidden="true"></i>
@@ -1183,10 +1242,20 @@ The React implementation can be found in the [search input](/components/search-i
1183
1242
  </div>
1184
1243
  <div class="pf-v6-c-form__group pf-m-action">
1185
1244
  <div class="pf-v6-c-form__actions">
1186
- <button class="pf-v6-c-button pf-m-primary" type="submit">
1245
+ <button
1246
+ class="pf-v6-c-button pf-m-primary"
1247
+ id="submit-advanced-search-expanded"
1248
+ type="submit"
1249
+ aria-labelledby="submit-advanced-search-expanded search-input-group-advanced-search-expanded"
1250
+ >
1187
1251
  <span class="pf-v6-c-button__text">Submit</span>
1188
1252
  </button>
1189
- <button class="pf-v6-c-button pf-m-link" type="reset">
1253
+ <button
1254
+ class="pf-v6-c-button pf-m-link"
1255
+ id="reset-advanced-search-expanded"
1256
+ type="reset"
1257
+ aria-labelledby="reset-advanced-search-expanded search-input-group-advanced-search-expanded"
1258
+ >
1190
1259
  <span class="pf-v6-c-button__text">Reset</span>
1191
1260
  </button>
1192
1261
  </div>
@@ -1211,7 +1280,7 @@ The React implementation can be found in the [search input](/components/search-i
1211
1280
  class="pf-v6-c-text-input-group__text-input"
1212
1281
  type="text"
1213
1282
  value="app"
1214
- aria-label="Search input"
1283
+ aria-label="Search input group autocomplete"
1215
1284
  />
1216
1285
  </span>
1217
1286
  </div>
@@ -1219,7 +1288,7 @@ The React implementation can be found in the [search input](/components/search-i
1219
1288
  <button
1220
1289
  class="pf-v6-c-button pf-m-plain"
1221
1290
  type="button"
1222
- aria-label="Clear input"
1291
+ aria-label="Clear autocomplete search input group"
1223
1292
  >
1224
1293
  <span class="pf-v6-c-button__icon">
1225
1294
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -1287,7 +1356,7 @@ The React implementation can be found in the [search input](/components/search-i
1287
1356
  <button
1288
1357
  class="pf-v6-c-button pf-m-plain"
1289
1358
  type="button"
1290
- aria-label="Clear input"
1359
+ aria-label="Clear autocomple search input group last option hint"
1291
1360
  >
1292
1361
  <span class="pf-v6-c-button__icon">
1293
1362
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -1328,7 +1397,7 @@ The React implementation can be found in the [search input](/components/search-i
1328
1397
  class="pf-v6-c-text-input-group__text-input"
1329
1398
  type="text"
1330
1399
  value="username:root firstname:n"
1331
- aria-label="Search input"
1400
+ aria-label="Search input group advanced search expanded with autocomplete"
1332
1401
  />
1333
1402
  </span>
1334
1403
  </div>
@@ -1336,7 +1405,7 @@ The React implementation can be found in the [search input](/components/search-i
1336
1405
  <button
1337
1406
  class="pf-v6-c-button pf-m-plain"
1338
1407
  type="button"
1339
- aria-label="Clear input"
1408
+ aria-label="Clear advance search input group expanded with autocomplete"
1340
1409
  >
1341
1410
  <span class="pf-v6-c-button__icon">
1342
1411
  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
@@ -1350,7 +1419,7 @@ The React implementation can be found in the [search input](/components/search-i
1350
1419
  class="pf-v6-c-button pf-m-expanded pf-m-control"
1351
1420
  type="button"
1352
1421
  aria-expanded="true"
1353
- aria-label="Advanced search"
1422
+ aria-label="Advanced search expanded with autocomplete"
1354
1423
  >
1355
1424
  <span class="pf-v6-c-button__icon">
1356
1425
  <i class="fas fa-caret-down" aria-hidden="true"></i>
@@ -1361,7 +1430,7 @@ The React implementation can be found in the [search input](/components/search-i
1361
1430
  <button
1362
1431
  class="pf-v6-c-button pf-m-control"
1363
1432
  type="submit"
1364
- aria-label="Search"
1433
+ aria-label="Search advanced search input group expanded with autocomplete"
1365
1434
  >
1366
1435
  <span class="pf-v6-c-button__icon">
1367
1436
  <i class="fas fa-arrow-right" aria-hidden="true"></i>
@@ -1446,10 +1515,20 @@ The React implementation can be found in the [search input](/components/search-i
1446
1515
  </div>
1447
1516
  <div class="pf-v6-c-form__group pf-m-action">
1448
1517
  <div class="pf-v6-c-form__actions">
1449
- <button class="pf-v6-c-button pf-m-primary" type="submit">
1518
+ <button
1519
+ class="pf-v6-c-button pf-m-primary"
1520
+ id="submit-advanced-search-expanded-with-autocomplete"
1521
+ type="submit"
1522
+ aria-labelledby="submit-advanced-search-expanded-with-autocomplete search-input-group-advanced-search-expanded-with-autocomplete"
1523
+ >
1450
1524
  <span class="pf-v6-c-button__text">Submit</span>
1451
1525
  </button>
1452
- <button class="pf-v6-c-button pf-m-link" type="reset">
1526
+ <button
1527
+ class="pf-v6-c-button pf-m-link"
1528
+ id="reset-advanced-search-expanded-with-autocomplete"
1529
+ type="submit"
1530
+ aria-labelledby="reset-advanced-search-expanded-with-autocomplete search-input-group-advanced-search-expanded-with-autocomplete"
1531
+ >
1453
1532
  <span class="pf-v6-c-button__text">Reset</span>
1454
1533
  </button>
1455
1534
  </div>
@@ -19,12 +19,12 @@ cssPrefix: pf-v6-c-title
19
19
  ### Heading level modifiers
20
20
 
21
21
  ```html
22
- <div class="pf-v6-c-title pf-m-h1">H1-styled title</div>
23
- <div class="pf-v6-c-title pf-m-h2">H2-styled title</div>
24
- <div class="pf-v6-c-title pf-m-h3">H3-styled title</div>
25
- <div class="pf-v6-c-title pf-m-h4">H4-styled title</div>
26
- <div class="pf-v6-c-title pf-m-h5">H5-styled title</div>
27
- <div class="pf-v6-c-title pf-m-h6">H6-styled title</div>
22
+ <h1 class="pf-v6-c-title pf-m-h1">H1-styled title</h1>
23
+ <h2 class="pf-v6-c-title pf-m-h2">H2-styled title</h2>
24
+ <h3 class="pf-v6-c-title pf-m-h3">H3-styled title</h3>
25
+ <h4 class="pf-v6-c-title pf-m-h4">H4-styled title</h4>
26
+ <h5 class="pf-v6-c-title pf-m-h5">H5-styled title</h5>
27
+ <h6 class="pf-v6-c-title pf-m-h6">H6-styled title</h6>
28
28
 
29
29
  ```
30
30
 
@@ -33,7 +33,7 @@ cssPrefix: pf-v6-c-title
33
33
  ```html
34
34
  <h1 class="pf-v6-c-title pf-m-2xl pf-m-page-title">2xl page title</h1>
35
35
 
36
- <div class="pf-v6-c-title pf-m-h1 pf-m-page-title">H1 page title</div>
36
+ <h1 class="pf-v6-c-title pf-m-h1 pf-m-page-title">H1 page title</h1>
37
37
 
38
38
  ```
39
39
 
@@ -58,7 +58,7 @@ The content component defines margin on headers. To regain the same spacing use,
58
58
 
59
59
  | Class | Applied | Outcome |
60
60
  | -- | -- | -- |
61
- | `.pf-v6-c-title` | `*` | Initiates a title. Always use it with a modifier class. |
61
+ | `.pf-v6-c-title` | `h1-h6` | Initiates a title. Always use it with a modifier class. |
62
62
  | `.pf-m-4xl` | `.pf-v6-c-title` | Modifies for 4xl size |
63
63
  | `.pf-m-3xl` | `.pf-v6-c-title` | Modifies for 3xl size |
64
64
  | `.pf-m-2xl` | `.pf-v6-c-title` | Modifies for 2xl size |
@@ -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>