We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbe8e89 commit f7ae304Copy full SHA for f7ae304
src/components/message-box/index.tsx
@@ -10,6 +10,7 @@ import { Typo } from '@atb/components/typography';
10
11
import style from './message-box.module.css';
12
import { colorToOverrideMode } from '@atb/utils/color';
13
+import { screenReaderPause } from '@atb/components/typography/utils';
14
15
export type MessageMode = keyof Theme['static']['status'];
16
@@ -69,6 +70,11 @@ export const MessageBox = ({
69
70
title={t(dictionary.readMore)}
71
className={style.messageBox__button}
72
size="compact"
73
+ buttonProps={{
74
+ 'aria-label': `${message}${screenReaderPause}${t(
75
+ dictionary.readMore,
76
+ )}`,
77
+ }}
78
/>
79
)}
80
</div>
0 commit comments