Skip to content

Commit fe4119b

Browse files
committed
minor changes to maintain consistency across examples
1 parent 2009a4f commit fe4119b

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

packages/react-core/src/demos/Banner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class BannerDemo extends React.Component {
4848
</p>
4949
</Content>
5050
</PageSection>
51-
<PageSection aria-label = 'Cards section'>
51+
<PageSection aria-label = 'Cards gallery'>
5252
<Gallery hasGutter>
5353
{Array.from({ length: 30 }).map((_value, index) => (
5454
<GalleryItem key={index}>
@@ -122,7 +122,7 @@ class BannerDemo extends React.Component {
122122
</p>
123123
</Content>
124124
</PageSection>
125-
<PageSection aria-label = 'Cards section'>
125+
<PageSection aria-label = 'Cards gallery'>
126126
<Gallery hasGutter>
127127
{Array.from({ length: 30 }).map((_value, index) => (
128128
<GalleryItem key={index}>

packages/react-core/src/demos/CardView/examples/CardView.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,16 +465,16 @@ export const CardViewBasic: React.FunctionComponent = () => {
465465
return (
466466
<Fragment>
467467
<DashboardWrapper mainContainerId="main-content-card-view-default-nav" breadcrumb={null}>
468-
<PageSection aria-labelledby="projects-heading">
468+
<PageSection aria-labelledby="projects">
469469
<Content>
470-
<h1 id="projects-heading">Projects</h1>
470+
<h1 id="projects">Projects</h1>
471471
<p>This is a demo that showcases PatternFly cards.</p>
472472
</Content>
473473
<Toolbar id="toolbar-group-types" clearAllFilters={onDelete}>
474474
<ToolbarContent>{toolbarItems}</ToolbarContent>
475475
</Toolbar>
476476
</PageSection>
477-
<PageSection isFilled aria-label="Selectable card container">
477+
<PageSection isFilled aria-label="Selectable card gallery">
478478
<Gallery hasGutter aria-label="Selectable card container">
479479
<Card isCompact>
480480
<Bullseye>

packages/react-core/src/demos/DataList/examples/DataListBasic.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ export const DataListBasic: React.FunctionComponent = () => {
6969
return (
7070
<Fragment>
7171
<DashboardWrapper mainContainerId="main-content-datalist-view-default-nav" breadcrumb={null}>
72-
<PageSection aria-labelledby="projects-heading">
72+
<PageSection aria-labelledby="projects">
7373
<Content>
74-
<h1 id="projects-heading">Projects</h1>
74+
<h1 id="projects">Projects</h1>
7575
<p>This is a demo that showcases PatternFly data list</p>
7676
</Content>
7777
</PageSection>

packages/react-core/src/demos/DataList/examples/DataListExpandableControlInToolbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ export const DataListExpandableControlInToolbar: React.FunctionComponent = () =>
133133
return (
134134
<Fragment>
135135
<DashboardWrapper mainContainerId="main-content-datalist-view-default-nav" breadcrumb={null}>
136-
<PageSection aria-labelledby="projects-heading">
136+
<PageSection aria-labelledby="projects">
137137
<Content>
138-
<h1 id="projects-heading">Projects</h1>
138+
<h1 id="projects">Projects</h1>
139139
<p>This is a demo that showcases PatternFly data list</p>
140140
</Content>
141141
</PageSection>

0 commit comments

Comments
 (0)