@@ -312,9 +312,9 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
312
312
notificationDrawer = { notificationDrawer }
313
313
isNotificationDrawerExpanded = { isDrawerExpanded }
314
314
>
315
- < PageSection >
315
+ < PageSection aria-labelledby = "alert-group-title" >
316
316
< Content >
317
- < h1 > Alert group with notification drawer demo</ h1 >
317
+ < h1 id = "alert-group-title" > Alert group with notification drawer demo</ h1 >
318
318
< p >
319
319
New alerts can be added with the following buttons. Each alert has a timeout of 7 seconds, however, even
320
320
after the timeout expires, all alerts are still visible in the notification drawer. By default, only 3
@@ -324,7 +324,7 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
324
324
</ Content >
325
325
</ PageSection >
326
326
327
- < PageSection >
327
+ < PageSection aria-label = "Alert Buttons" >
328
328
< Button variant = "secondary" onClick = { ( ) => addNewNotification ( 'success' ) } style = { alertButtonStyle } >
329
329
Add toast success alert
330
330
</ Button >
@@ -344,10 +344,10 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
344
344
</ Button >
345
345
</ PageSection >
346
346
347
- < PageSection >
347
+ < PageSection aria-labelledby = "max-displayed-alerts-title" >
348
348
< Content >
349
349
< br />
350
- < h2 > Max displayed alerts</ h2 >
350
+ < h2 id = "max-displayed-alerts-title" > Max displayed alerts</ h2 >
351
351
< p > Adjust the maximum number of displayed alerts.</ p >
352
352
</ Content >
353
353
< NumberInput
@@ -364,7 +364,7 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
364
364
style = { { margin : '12px 0' } }
365
365
/>
366
366
</ PageSection >
367
- < PageSection >
367
+ < PageSection aria-label = "Alert Group" >
368
368
< AlertGroup
369
369
hasAnimations
370
370
isToast
0 commit comments