diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-09-22 13:38:01 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2020-09-29 11:45:50 +0200 |
| commit | 4a45d23f1dad4d491ee53e74f849a69eb8ce7ea9 (patch) | |
| tree | 63912de7b39fc98a43faa39d7357797f4ded547d | |
| parent | f77268d44632b3385806b3b2728940224ca106a0 (diff) | |
| download | mullvadvpn-4a45d23f1dad4d491ee53e74f849a69eb8ce7ea9.tar.xz mullvadvpn-4a45d23f1dad4d491ee53e74f849a69eb8ce7ea9.zip | |
Switch roles of NotificationArea and SecuredLabel to status
| -rw-r--r-- | gui/src/renderer/components/NotificationArea.tsx | 2 | ||||
| -rw-r--r-- | gui/src/renderer/components/SecuredLabel.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/renderer/components/NotificationArea.tsx b/gui/src/renderer/components/NotificationArea.tsx index 5aa402c298..8e14cdf68a 100644 --- a/gui/src/renderer/components/NotificationArea.tsx +++ b/gui/src/renderer/components/NotificationArea.tsx @@ -66,7 +66,7 @@ export default function NotificationArea(props: IProps) { return ( <NotificationBanner className={props.className} visible> <NotificationIndicator type={notification.indicator} /> - <NotificationContent role="alert" aria-live="polite"> + <NotificationContent role="status" aria-live="polite"> <NotificationTitle>{notification.title}</NotificationTitle> <NotificationSubtitle>{notification.subtitle}</NotificationSubtitle> </NotificationContent> diff --git a/gui/src/renderer/components/SecuredLabel.tsx b/gui/src/renderer/components/SecuredLabel.tsx index 36cee2db18..08eda0afca 100644 --- a/gui/src/renderer/components/SecuredLabel.tsx +++ b/gui/src/renderer/components/SecuredLabel.tsx @@ -30,7 +30,7 @@ interface ISecuredLabelProps { export default function SecuredLabel(props: ISecuredLabelProps) { return ( - <StyledSecuredLabel {...props} role="alert" aria-live="polite"> + <StyledSecuredLabel {...props} role="status" aria-live="polite"> {getLabelText(props.displayStyle)} </StyledSecuredLabel> ); |
