Skip to content

Commit ad6bd0e

Browse files
committed
fix(axe): switch to generic div
axe reports: "ARIA role status is not allowed for given element"
1 parent 79084a3 commit ad6bd0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/components/src/components/notification/notification.lite.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function DBNotification(props: DBNotificationProps) {
3838
// jscpd:ignore-end
3939

4040
return (
41-
<article
41+
<div
4242
ref={_ref}
4343
id={props.id}
4444
class={cls('db-notification', props.className)}
@@ -83,6 +83,6 @@ export default function DBNotification(props: DBNotificationProps) {
8383
{props.closeButtonText ?? DEFAULT_CLOSE_BUTTON}
8484
</DBButton>
8585
</Show>
86-
</article>
86+
</div>
8787
);
8888
}

0 commit comments

Comments
 (0)