@patternfly/react-core 6.3.0-prerelease.5 → 6.3.0-prerelease.7
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.
- package/CHANGELOG.md +10 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/AboutModal/package.json +1 -1
- package/dist/dynamic/components/Accordion/package.json +1 -1
- package/dist/dynamic/components/ActionList/package.json +1 -1
- package/dist/dynamic/components/Alert/package.json +1 -1
- package/dist/dynamic/components/Avatar/package.json +1 -1
- package/dist/dynamic/components/BackToTop/package.json +1 -1
- package/dist/dynamic/components/Backdrop/package.json +1 -1
- package/dist/dynamic/components/BackgroundImage/package.json +1 -1
- package/dist/dynamic/components/Badge/package.json +1 -1
- package/dist/dynamic/components/Banner/package.json +1 -1
- package/dist/dynamic/components/Brand/package.json +1 -1
- package/dist/dynamic/components/Breadcrumb/package.json +1 -1
- package/dist/dynamic/components/Button/package.json +1 -1
- package/dist/dynamic/components/CalendarMonth/package.json +1 -1
- package/dist/dynamic/components/Card/package.json +1 -1
- package/dist/dynamic/components/Checkbox/package.json +1 -1
- package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
- package/dist/dynamic/components/CodeBlock/package.json +1 -1
- package/dist/dynamic/components/Content/package.json +1 -1
- package/dist/dynamic/components/DataList/package.json +1 -1
- package/dist/dynamic/components/DatePicker/package.json +1 -1
- package/dist/dynamic/components/DescriptionList/package.json +1 -1
- package/dist/dynamic/components/Divider/package.json +1 -1
- package/dist/dynamic/components/Drawer/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/components/EmptyState/package.json +1 -1
- package/dist/dynamic/components/ExpandableSection/package.json +1 -1
- package/dist/dynamic/components/FileUpload/package.json +1 -1
- package/dist/dynamic/components/Form/package.json +1 -1
- package/dist/dynamic/components/FormSelect/package.json +1 -1
- package/dist/dynamic/components/HelperText/package.json +1 -1
- package/dist/dynamic/components/Hint/package.json +1 -1
- package/dist/dynamic/components/Icon/package.json +1 -1
- package/dist/dynamic/components/InputGroup/package.json +1 -1
- package/dist/dynamic/components/JumpLinks/package.json +1 -1
- package/dist/dynamic/components/Label/package.json +1 -1
- package/dist/dynamic/components/List/package.json +1 -1
- package/dist/dynamic/components/LoginPage/package.json +1 -1
- package/dist/dynamic/components/Masthead/package.json +1 -1
- package/dist/dynamic/components/Menu/package.json +1 -1
- package/dist/dynamic/components/MenuToggle/package.json +1 -1
- package/dist/dynamic/components/Modal/package.json +1 -1
- package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
- package/dist/dynamic/components/Nav/package.json +1 -1
- package/dist/dynamic/components/NotificationBadge/package.json +1 -1
- package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
- package/dist/dynamic/components/NumberInput/package.json +1 -1
- package/dist/dynamic/components/OverflowMenu/package.json +1 -1
- package/dist/dynamic/components/Page/package.json +1 -1
- package/dist/dynamic/components/Pagination/package.json +1 -1
- package/dist/dynamic/components/Panel/package.json +1 -1
- package/dist/dynamic/components/Popover/package.json +1 -1
- package/dist/dynamic/components/Progress/package.json +1 -1
- package/dist/dynamic/components/ProgressStepper/package.json +1 -1
- package/dist/dynamic/components/Radio/package.json +1 -1
- package/dist/dynamic/components/SearchInput/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/dynamic/components/Sidebar/package.json +1 -1
- package/dist/dynamic/components/SimpleList/package.json +1 -1
- package/dist/dynamic/components/Skeleton/package.json +1 -1
- package/dist/dynamic/components/SkipToContent/package.json +1 -1
- package/dist/dynamic/components/Slider/package.json +1 -1
- package/dist/dynamic/components/Spinner/package.json +1 -1
- package/dist/dynamic/components/Switch/package.json +1 -1
- package/dist/dynamic/components/Tabs/package.json +1 -1
- package/dist/dynamic/components/TextArea/package.json +1 -1
- package/dist/dynamic/components/TextInput/package.json +1 -1
- package/dist/dynamic/components/TextInputGroup/package.json +1 -1
- package/dist/dynamic/components/TimePicker/package.json +1 -1
- package/dist/dynamic/components/Timestamp/package.json +1 -1
- package/dist/dynamic/components/Title/package.json +1 -1
- package/dist/dynamic/components/ToggleGroup/package.json +1 -1
- package/dist/dynamic/components/Toolbar/package.json +1 -1
- package/dist/dynamic/components/Tooltip/package.json +1 -1
- package/dist/dynamic/components/TreeView/package.json +1 -1
- package/dist/dynamic/components/Truncate/package.json +1 -1
- package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
- package/dist/dynamic/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
- package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
- package/dist/dynamic/deprecated/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/Modal/package.json +1 -1
- package/dist/dynamic/deprecated/components/Tile/package.json +1 -1
- package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
- package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
- package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
- package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
- package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
- package/dist/dynamic/helpers/constants/package.json +1 -1
- package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
- package/dist/dynamic/helpers/fileUtils/package.json +1 -1
- package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
- package/dist/dynamic/helpers/package.json +1 -1
- package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
- package/dist/dynamic/helpers/typeUtils/package.json +1 -1
- package/dist/dynamic/helpers/useInterval/package.json +1 -1
- package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
- package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
- package/dist/dynamic/helpers/util/package.json +1 -1
- package/dist/dynamic/layouts/Bullseye/package.json +1 -1
- package/dist/dynamic/layouts/Flex/package.json +1 -1
- package/dist/dynamic/layouts/Gallery/package.json +1 -1
- package/dist/dynamic/layouts/Grid/package.json +1 -1
- package/dist/dynamic/layouts/Level/package.json +1 -1
- package/dist/dynamic/layouts/Split/package.json +1 -1
- package/dist/dynamic/layouts/Stack/package.json +1 -1
- package/dist/dynamic/styles/package.json +1 -1
- package/dist/umd/assets/{output-ZXgRs2js.css → output-XVlyxAO_.css} +19349 -19349
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +2 -2
- package/src/components/Page/examples/PageCenteredSection.tsx +1 -1
- package/src/components/Page/examples/PageGroupSection.tsx +9 -3
- package/src/components/Page/examples/PageHorizontalNav.tsx +9 -3
- package/src/components/Page/examples/PageMainSectionPadding.tsx +12 -4
- package/src/components/Page/examples/PageMainSectionVariations.tsx +6 -6
- package/src/components/Page/examples/PageMultipleSidebarBody.tsx +9 -3
- package/src/components/Page/examples/PageUncontrolledNav.tsx +9 -3
- package/src/components/Page/examples/PageVerticalNav.tsx +9 -3
- package/src/components/Page/examples/PageWithOrWithoutFill.tsx +8 -4
- package/src/components/Select/examples/Select.md +3 -26
- package/src/demos/Banner.md +6 -6
- package/src/demos/CardView/examples/CardView.tsx +9 -4
- package/src/demos/DataList/examples/DataListActionable.tsx +5 -3
- package/src/demos/DataList/examples/DataListBasic.tsx +2 -2
- package/src/demos/DataList/examples/DataListExpandableControlInToolbar.tsx +2 -2
- package/src/demos/DataList/examples/DataListStaticBottomPagination.tsx +4 -2
- package/src/demos/DescriptionList/examples/DescriptionListBasic.tsx +4 -4
- package/src/demos/DescriptionList/examples/DescriptionListInDrawer.tsx +5 -3
- package/src/demos/JumpLinks.md +5 -5
- package/src/demos/Tabs.md +6 -6
- package/src/demos/examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx +6 -6
- package/src/demos/examples/BackToTop/BackToTopNameDemo.tsx +2 -2
- package/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx +5 -3
- package/src/demos/examples/Masthead/MastheadWithUtilitiesAndUserDropdownMenu.tsx +3 -3
- package/src/demos/examples/Nav/NavDefault.tsx +3 -3
- package/src/demos/examples/Nav/NavDrilldown.tsx +1 -1
- package/src/demos/examples/Nav/NavExpandable.tsx +3 -3
- package/src/demos/examples/Nav/NavFlyout.tsx +9 -3
- package/src/demos/examples/Nav/NavGrouped.tsx +14 -6
- package/src/demos/examples/Nav/NavHorizontal.tsx +3 -3
- package/src/demos/examples/Nav/NavHorizontalWithSubnav.tsx +5 -5
- package/src/demos/examples/Nav/NavManual.tsx +3 -3
- package/src/demos/examples/Nav/NavWithSubnav.tsx +5 -5
- package/src/demos/examples/Tabs/ModalTabs.tsx +3 -3
- package/src/demos/examples/Tabs/NestedTabs.tsx +2 -2
- package/src/demos/examples/Tabs/NestedUnindentedTabs.tsx +2 -2
- package/src/demos/examples/Tabs/TabsAndTable.tsx +3 -3
|
@@ -544,15 +544,15 @@ export const MastheadWithUtilitiesAndUserDropdownMenu: React.FunctionComponent =
|
|
|
544
544
|
isBreadcrumbWidthLimited
|
|
545
545
|
isBreadcrumbGrouped
|
|
546
546
|
additionalGroupedContent={
|
|
547
|
-
<PageSection>
|
|
547
|
+
<PageSection aria-labelledby="main-title">
|
|
548
548
|
<Content>
|
|
549
|
-
<h1>Main title</h1>
|
|
549
|
+
<h1 id="main-title">Main title</h1>
|
|
550
550
|
<p>This is a full page demo.</p>
|
|
551
551
|
</Content>
|
|
552
552
|
</PageSection>
|
|
553
553
|
}
|
|
554
554
|
>
|
|
555
|
-
<PageSection>
|
|
555
|
+
<PageSection aria-label="Card gallery">
|
|
556
556
|
<Gallery hasGutter>
|
|
557
557
|
{Array.from({ length: 10 }).map((_value, index) => (
|
|
558
558
|
<GalleryItem key={index}>
|
|
@@ -84,16 +84,16 @@ export const NavDefault: React.FunctionComponent = () => {
|
|
|
84
84
|
breadcrumb={DashboardBreadcrumb}
|
|
85
85
|
mainContainerId={pageId}
|
|
86
86
|
>
|
|
87
|
-
<PageSection>
|
|
87
|
+
<PageSection aria-labelledby="main-title">
|
|
88
88
|
<Content>
|
|
89
|
-
<h1>Main title</h1>
|
|
89
|
+
<h1 id="main-title">Main title</h1>
|
|
90
90
|
<p>
|
|
91
91
|
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
92
92
|
of its relative line height of 1.5.
|
|
93
93
|
</p>
|
|
94
94
|
</Content>
|
|
95
95
|
</PageSection>
|
|
96
|
-
<PageSection>
|
|
96
|
+
<PageSection aria-label="Card gallery">
|
|
97
97
|
<Gallery hasGutter>
|
|
98
98
|
{Array.from({ length: 10 }).map((_value, index) => (
|
|
99
99
|
<GalleryItem key={index}>
|
|
@@ -129,7 +129,7 @@ export const NavDrilldown: React.FunctionComponent = () => {
|
|
|
129
129
|
|
|
130
130
|
return (
|
|
131
131
|
<Page masthead={<DashboardHeader />} sidebar={sidebar}>
|
|
132
|
-
<PageSection>
|
|
132
|
+
<PageSection aria-label="Navigation layer">
|
|
133
133
|
<strong>Nav Layer: </strong>
|
|
134
134
|
{navLayer}
|
|
135
135
|
</PageSection>
|
|
@@ -110,16 +110,16 @@ export const NavExpandableDemo: React.FunctionComponent = () => {
|
|
|
110
110
|
breadcrumb={DashboardBreadcrumb}
|
|
111
111
|
mainContainerId={pageId}
|
|
112
112
|
>
|
|
113
|
-
<PageSection>
|
|
113
|
+
<PageSection aria-labelledby="main-title">
|
|
114
114
|
<Content>
|
|
115
|
-
<h1>Main title</h1>
|
|
115
|
+
<h1 id="main-title">Main title</h1>
|
|
116
116
|
<p>
|
|
117
117
|
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
118
118
|
of its relative line height of 1.5.
|
|
119
119
|
</p>
|
|
120
120
|
</Content>
|
|
121
121
|
</PageSection>
|
|
122
|
-
<PageSection>
|
|
122
|
+
<PageSection aria-label="Card gallery">
|
|
123
123
|
<Gallery hasGutter>
|
|
124
124
|
{Array.from({ length: 10 }).map((_value, index) => (
|
|
125
125
|
<GalleryItem key={index}>
|
|
@@ -284,9 +284,15 @@ export const NavFlyout: React.FunctionComponent = () => {
|
|
|
284
284
|
skipToContent={PageSkipToContent}
|
|
285
285
|
mainContainerId={pageId}
|
|
286
286
|
>
|
|
287
|
-
<PageSection
|
|
288
|
-
|
|
289
|
-
|
|
287
|
+
<PageSection aria-labelledby="section-1">
|
|
288
|
+
<h2 id="section-1">Section 1</h2>
|
|
289
|
+
</PageSection>
|
|
290
|
+
<PageSection aria-labelledby="section-2">
|
|
291
|
+
<h2 id="section-2">Section 2</h2>
|
|
292
|
+
</PageSection>
|
|
293
|
+
<PageSection aria-labelledby="section-3">
|
|
294
|
+
<h2 id="section-3">Section 3</h2>
|
|
295
|
+
</PageSection>
|
|
290
296
|
</Page>
|
|
291
297
|
);
|
|
292
298
|
};
|
|
@@ -92,19 +92,27 @@ export const NavGrouped: React.FunctionComponent = () => {
|
|
|
92
92
|
skipToContent={PageSkipToContent}
|
|
93
93
|
mainContainerId={pageId}
|
|
94
94
|
>
|
|
95
|
-
<PageSection>
|
|
95
|
+
<PageSection aria-labelledby="main-title">
|
|
96
96
|
<Content>
|
|
97
|
-
<h1>Main title</h1>
|
|
97
|
+
<h1 id="main-title">Main title</h1>
|
|
98
98
|
<p>
|
|
99
99
|
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
100
100
|
of its relative line height of 1.5.
|
|
101
101
|
</p>
|
|
102
102
|
</Content>
|
|
103
103
|
</PageSection>
|
|
104
|
-
<PageSection
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
<PageSection>
|
|
104
|
+
<PageSection aria-labelledby="section-1">
|
|
105
|
+
<h2 id="section-1">Section 1</h2>
|
|
106
|
+
</PageSection>
|
|
107
|
+
<PageSection aria-labelledby="section-2">
|
|
108
|
+
<h2 id="section-2">Section 2</h2>
|
|
109
|
+
</PageSection>
|
|
110
|
+
<PageSection aria-labelledby="section-3">
|
|
111
|
+
<h2 id="section-3">Section 3</h2>
|
|
112
|
+
</PageSection>
|
|
113
|
+
<PageSection aria-labelledby="content">
|
|
114
|
+
<h2 id="content">Content</h2>
|
|
115
|
+
</PageSection>
|
|
108
116
|
</Page>
|
|
109
117
|
</>
|
|
110
118
|
);
|
|
@@ -229,16 +229,16 @@ export const NavHorizontal: React.FunctionComponent = () => {
|
|
|
229
229
|
breadcrumb={DashboardBreadcrumb}
|
|
230
230
|
mainContainerId={pageId}
|
|
231
231
|
>
|
|
232
|
-
<PageSection>
|
|
232
|
+
<PageSection aria-labelledby="main-title">
|
|
233
233
|
<Content>
|
|
234
|
-
<h1>Main title</h1>
|
|
234
|
+
<h1 id="main-title">Main title</h1>
|
|
235
235
|
<p>
|
|
236
236
|
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
237
237
|
of its relative line height of 1.5.
|
|
238
238
|
</p>
|
|
239
239
|
</Content>
|
|
240
240
|
</PageSection>
|
|
241
|
-
<PageSection>
|
|
241
|
+
<PageSection aria-label="Card gallery">
|
|
242
242
|
<Gallery hasGutter>
|
|
243
243
|
{Array.from({ length: 10 }).map((_value, index) => (
|
|
244
244
|
<GalleryItem key={index}>
|
|
@@ -278,22 +278,22 @@ export const NavHorizontalWithSubnav: React.FunctionComponent = () => {
|
|
|
278
278
|
return (
|
|
279
279
|
<Fragment>
|
|
280
280
|
<Page masthead={masthead} skipToContent={PageSkipToContent} mainContainerId={pageId}>
|
|
281
|
-
<PageSection type={PageSectionTypes.subNav} isWidthLimited>
|
|
281
|
+
<PageSection type={PageSectionTypes.subNav} isWidthLimited aria-label="Subnav">
|
|
282
282
|
{SubNav}
|
|
283
283
|
</PageSection>
|
|
284
|
-
<PageSection type={PageSectionTypes.breadcrumb} isWidthLimited>
|
|
284
|
+
<PageSection type={PageSectionTypes.breadcrumb} isWidthLimited aria-label="Breadcrumb">
|
|
285
285
|
{DashboardBreadcrumb}
|
|
286
286
|
</PageSection>
|
|
287
|
-
<PageSection>
|
|
287
|
+
<PageSection aria-labelledby="main-title">
|
|
288
288
|
<Content>
|
|
289
|
-
<h1>Main title</h1>
|
|
289
|
+
<h1 id="main-title">Main title</h1>
|
|
290
290
|
<p>
|
|
291
291
|
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
292
292
|
of it’s relative line height of 1.5.
|
|
293
293
|
</p>
|
|
294
294
|
</Content>
|
|
295
295
|
</PageSection>
|
|
296
|
-
<PageSection>
|
|
296
|
+
<PageSection aria-label="Card gallery">
|
|
297
297
|
<Gallery hasGutter>
|
|
298
298
|
{Array.from({ length: 10 }).map((_value, index) => (
|
|
299
299
|
<GalleryItem key={index}>
|
|
@@ -260,16 +260,16 @@ export const NavManual: React.FunctionComponent = () => {
|
|
|
260
260
|
skipToContent={PageSkipToContent}
|
|
261
261
|
mainContainerId={pageId}
|
|
262
262
|
>
|
|
263
|
-
<PageSection>
|
|
263
|
+
<PageSection aria-labelledby="main-title">
|
|
264
264
|
<Content>
|
|
265
|
-
<h1>Main title</h1>
|
|
265
|
+
<h1 id="main-title">Main title</h1>
|
|
266
266
|
<p>
|
|
267
267
|
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
268
268
|
of its relative line height of 1.5.
|
|
269
269
|
</p>
|
|
270
270
|
</Content>
|
|
271
271
|
</PageSection>
|
|
272
|
-
<PageSection>
|
|
272
|
+
<PageSection aria-label="Card gallery">
|
|
273
273
|
<Gallery hasGutter>
|
|
274
274
|
{Array.from({ length: 10 }).map((_value, index) => (
|
|
275
275
|
<GalleryItem key={index}>
|
|
@@ -122,22 +122,22 @@ export const NavWithSubnav: React.FunctionComponent = () => {
|
|
|
122
122
|
skipToContent={PageSkipToContent}
|
|
123
123
|
mainContainerId={pageId}
|
|
124
124
|
>
|
|
125
|
-
<PageSection type={PageSectionTypes.subNav} isWidthLimited>
|
|
125
|
+
<PageSection type={PageSectionTypes.subNav} isWidthLimited aria-label="Subnav">
|
|
126
126
|
{SubNav}
|
|
127
127
|
</PageSection>
|
|
128
|
-
<PageSection type={PageSectionTypes.breadcrumb} isWidthLimited>
|
|
128
|
+
<PageSection type={PageSectionTypes.breadcrumb} isWidthLimited aria-label="Breadcrumb">
|
|
129
129
|
{DashboardBreadcrumb}
|
|
130
130
|
</PageSection>
|
|
131
|
-
<PageSection>
|
|
131
|
+
<PageSection aria-labelledby="main-title">
|
|
132
132
|
<Content>
|
|
133
|
-
<h1>Main title</h1>
|
|
133
|
+
<h1 id="main-title">Main title</h1>
|
|
134
134
|
<p>
|
|
135
135
|
Body text should be Red Hat Text at 1rem(16px). It should have leading of 1.5rem(24px) because <br />
|
|
136
136
|
of it’s relative line height of 1.5.
|
|
137
137
|
</p>
|
|
138
138
|
</Content>
|
|
139
139
|
</PageSection>
|
|
140
|
-
<PageSection>
|
|
140
|
+
<PageSection aria-label="Card gallery">
|
|
141
141
|
<Gallery hasGutter>
|
|
142
142
|
{Array.from({ length: 10 }).map((_value, index) => (
|
|
143
143
|
<GalleryItem key={index}>
|
|
@@ -73,13 +73,13 @@ export const ModalTabs: React.FunctionComponent = () => {
|
|
|
73
73
|
return (
|
|
74
74
|
<Fragment>
|
|
75
75
|
<DashboardWrapper mainContainerId="main-content-card-view-default-nav">
|
|
76
|
-
<PageSection>
|
|
76
|
+
<PageSection aria-labelledby="projects-heading">
|
|
77
77
|
<Content>
|
|
78
|
-
<h1>Projects</h1>
|
|
78
|
+
<h1 id="projects-heading">Projects</h1>
|
|
79
79
|
<p>Click any project card to view tabs within modals.</p>
|
|
80
80
|
</Content>
|
|
81
81
|
</PageSection>
|
|
82
|
-
<PageSection isFilled>
|
|
82
|
+
<PageSection isFilled aria-label="Selectable card gallery">
|
|
83
83
|
<Gallery hasGutter aria-label="Selectable card container">
|
|
84
84
|
{products.map((product) => (
|
|
85
85
|
<Card
|
|
@@ -133,7 +133,7 @@ export const NestedTabs: React.FunctionComponent = () => {
|
|
|
133
133
|
|
|
134
134
|
return (
|
|
135
135
|
<DashboardWrapper hasPageTemplateTitle>
|
|
136
|
-
<PageSection type="tabs" isWidthLimited>
|
|
136
|
+
<PageSection type="tabs" isWidthLimited aria-label="Cluster navigation tabs">
|
|
137
137
|
<Tabs
|
|
138
138
|
activeKey={activeTabKey}
|
|
139
139
|
onSelect={(_event, tabIndex) => handleTabClick(Number(tabIndex))}
|
|
@@ -144,7 +144,7 @@ export const NestedTabs: React.FunctionComponent = () => {
|
|
|
144
144
|
<Tab eventKey={1} title={<TabTitleText>Cluster 2</TabTitleText>} tabContentId={`tabContent${1}`} />
|
|
145
145
|
</Tabs>
|
|
146
146
|
</PageSection>
|
|
147
|
-
<PageSection isWidthLimited>
|
|
147
|
+
<PageSection isWidthLimited aria-label="Cluster tab panel content">
|
|
148
148
|
<TabContent key={0} eventKey={0} id={`tabContent${0}`} activeKey={activeTabKey} hidden={0 !== activeTabKey}>
|
|
149
149
|
<TabContentBody>{tabContent}</TabContentBody>
|
|
150
150
|
</TabContent>
|
|
@@ -124,7 +124,7 @@ export const NestedUnindentedTabs: React.FunctionComponent = () => {
|
|
|
124
124
|
|
|
125
125
|
return (
|
|
126
126
|
<DashboardWrapper hasPageTemplateTitle>
|
|
127
|
-
<PageSection type="tabs" isWidthLimited>
|
|
127
|
+
<PageSection type="tabs" isWidthLimited aria-label="Primary navigation tabs">
|
|
128
128
|
<Tabs
|
|
129
129
|
activeKey={activeTabKey}
|
|
130
130
|
onSelect={(_event, tabIndex) => handleTabClick(Number(tabIndex))}
|
|
@@ -137,7 +137,7 @@ export const NestedUnindentedTabs: React.FunctionComponent = () => {
|
|
|
137
137
|
<Tab eventKey={3} title={<TabTitleText>Support</TabTitleText>} tabContentId={`tabContent${3}`} />
|
|
138
138
|
</Tabs>
|
|
139
139
|
</PageSection>
|
|
140
|
-
<PageSection isWidthLimited>
|
|
140
|
+
<PageSection isWidthLimited aria-label="Primary tab content">
|
|
141
141
|
<TabContent key={0} eventKey={0} id={`tabContent${0}`} activeKey={activeTabKey} hidden={0 !== activeTabKey}>
|
|
142
142
|
<TabContentBody>What's new panel</TabContentBody>
|
|
143
143
|
</TabContent>
|
|
@@ -385,12 +385,12 @@ export const TablesAndTabs = () => {
|
|
|
385
385
|
return (
|
|
386
386
|
<DashboardWrapper>
|
|
387
387
|
<Fragment>
|
|
388
|
-
<PageSection>
|
|
389
|
-
<Title headingLevel="h1" size="2xl">
|
|
388
|
+
<PageSection aria-labelledby="nodes">
|
|
389
|
+
<Title headingLevel="h1" size="2xl" id="nodes">
|
|
390
390
|
Nodes
|
|
391
391
|
</Title>
|
|
392
392
|
</PageSection>
|
|
393
|
-
<PageSection padding={{ default: 'noPadding' }}>
|
|
393
|
+
<PageSection padding={{ default: 'noPadding' }} aria-label="Nodes toolbar and content">
|
|
394
394
|
{toolbar}
|
|
395
395
|
<Divider />
|
|
396
396
|
{tabContent}
|