diff options
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/components/console/Message.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/components/console/Message.tsx b/src/console/components/console/Message.tsx index e039020..73498fd 100644 --- a/src/console/components/console/Message.tsx +++ b/src/console/components/console/Message.tsx @@ -23,9 +23,9 @@ interface Props { const Message: React.FC<Props> = ({ mode, children }) => { switch (mode) { case "error": - return <Error>{children}</Error>; + return <Error role="alert">{children}</Error>; case "info": - return <Info>{children}</Info>; + return <Info role="status">{children}</Info>; } return null; }; |