Skip to content

Commit 47a15ea

Browse files
committed
chore(skeleton): updated screen reader text
1 parent 4ea82f7 commit 47a15ea

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import { Skeleton } from '@patternfly/react-core';
22

3-
export const SkeletonDefault: React.FunctionComponent = () => <Skeleton screenreaderText="Loading contents" />;
3+
export const SkeletonDefault: React.FunctionComponent = () => <Skeleton screenreaderText="Loading default content" />;

packages/react-core/src/components/Skeleton/examples/SkeletonPercentageHeight.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { Skeleton } from '@patternfly/react-core';
22

33
export const SkeletonPercentageHeight: React.FunctionComponent = () => (
44
<div style={{ height: '400px', display: 'flex', alignItems: 'flex-end', justifyContent: 'space-between' }}>
5-
<Skeleton height="25%" width="15%" screenreaderText="Loaded 25% of content" />
6-
<Skeleton height="33%" width="15%" screenreaderText="Loaded 33% of content" />
7-
<Skeleton height="50%" width="15%" screenreaderText="Loaded 50% of content" />
8-
<Skeleton height="66%" width="15%" screenreaderText="Loaded 66% of content" />
9-
<Skeleton height="75%" width="15%" screenreaderText="Loaded 75% of content" />
10-
<Skeleton height="100%" width="15%" screenreaderText="Loaded 100% of content" />
5+
<Skeleton height="25%" width="15%" screenreaderText="Loading percentage height content" />
6+
<Skeleton height="33%" width="15%" />
7+
<Skeleton height="50%" width="15%" />
8+
<Skeleton height="66%" width="15%" />
9+
<Skeleton height="75%" width="15%" />
10+
<Skeleton height="100%" width="15%" />
1111
</div>
1212
);

packages/react-core/src/components/Skeleton/examples/SkeletonPercentageWidth.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import { Skeleton } from '@patternfly/react-core';
33

44
export const SkeletonPercentageWidth: React.FunctionComponent = () => (
55
<Fragment>
6-
<Skeleton width="25%" screenreaderText="Loaded 25% of content" />
6+
<Skeleton width="25%" screenreaderText="Loading percentage width content" />
77
<br />
8-
<Skeleton width="33%" screenreaderText="Loaded 33% of content" />
8+
<Skeleton width="33%" />
99
<br />
10-
<Skeleton width="50%" screenreaderText="Loaded 50% of content" />
10+
<Skeleton width="50%" />
1111
<br />
12-
<Skeleton width="66%" screenreaderText="Loaded 66% of content" />
12+
<Skeleton width="66%" />
1313
<br />
14-
<Skeleton width="75%" screenreaderText="Loaded 75% of content" />
14+
<Skeleton width="75%" />
1515
<br />
1616
<Skeleton />
1717
</Fragment>

0 commit comments

Comments
 (0)