File tree Expand file tree Collapse file tree 6 files changed +13
-9
lines changed
packages/react-core/src/demos
NotificationDrawer/examples Expand file tree Collapse file tree 6 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
544
544
</ p >
545
545
</ Content >
546
546
</ PageSection >
547
- < PageSection aria-label = "Panel section content " > Panel section content</ PageSection >
547
+ < PageSection aria-label = "Panel section" > Panel section content</ PageSection >
548
548
</ Page >
549
549
</ Fragment >
550
550
) ;
Original file line number Diff line number Diff line change @@ -779,7 +779,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
779
779
</ p >
780
780
</ Content >
781
781
</ PageSection >
782
- < PageSection aria-label = "Panel section content " > Panel section content</ PageSection >
782
+ < PageSection aria-label = "Panel section" > Panel section content</ PageSection >
783
783
</ Page >
784
784
</ Fragment >
785
785
) ;
Original file line number Diff line number Diff line change @@ -325,9 +325,11 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
325
325
mainContainerId = { mainContainerId }
326
326
isBreadcrumbWidthLimited
327
327
>
328
- < PageSection isWidthLimited aria-label = "Main title">
328
+ < PageSection isWidthLimited aria-labelledby = "main- title">
329
329
< Content >
330
- < Content component = "h1" > Main title</ Content >
330
+ < Content component = "h1" id = "main-title" >
331
+ Main title
332
+ </ Content >
331
333
< Content component = "p" > This is a full page demo.</ Content >
332
334
</ Content >
333
335
</ PageSection >
Original file line number Diff line number Diff line change @@ -612,9 +612,9 @@ export const PrimaryDetailCardView: React.FunctionComponent = () => {
612
612
613
613
return (
614
614
< DashboardWrapper mainContainerId = "main-content-card-view-default-nav" breadcrumb = { null } >
615
- < PageSection aria-labelledby = "projects-heading " >
615
+ < PageSection aria-labelledby = "projects" >
616
616
< Content >
617
- < h1 id = "projects-heading " > Projects</ h1 >
617
+ < h1 id = "projects" > Projects</ h1 >
618
618
< p > This is a demo that showcases Patternfly cards.</ p >
619
619
</ Content >
620
620
</ PageSection >
Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ export const SkeletonCard: React.FunctionComponent = () => {
27
27
) ;
28
28
return (
29
29
< DashboardWrapper isBreadcrumbWidthLimited >
30
- < PageSection isWidthLimited aria-label = "Main title" >
31
- < Content component = "h1" > Main title</ Content >
30
+ < PageSection isWidthLimited aria-label = "main-title" >
31
+ < Content component = "h1" id = "main-title" >
32
+ Main title
33
+ </ Content >
32
34
< Content component = "p" > This is a full page demo.</ Content >
33
35
</ PageSection >
34
36
< PageSection aria-label = "Card gallery" >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/Dashboard
15
15
export const WizardInModalDemo : React . FunctionComponent = ( ) => (
16
16
< >
17
17
< DashboardWrapper hasPageTemplateTitle >
18
- < PageSection isWidthLimited aria-label = "Card gallery section " >
18
+ < PageSection isWidthLimited aria-label = "Card gallery" >
19
19
< Gallery hasGutter >
20
20
{ Array . from ( { length : 10 } ) . map ( ( _value , index ) => (
21
21
< GalleryItem key = { index } >
You can’t perform that action at this time.
0 commit comments