summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2020-09-22 13:38:01 +0200
committerOskar Nyberg <oskar@mullvad.net>2020-09-29 11:45:50 +0200
commit4a45d23f1dad4d491ee53e74f849a69eb8ce7ea9 (patch)
tree63912de7b39fc98a43faa39d7357797f4ded547d /gui/src
parentf77268d44632b3385806b3b2728940224ca106a0 (diff)
downloadmullvadvpn-4a45d23f1dad4d491ee53e74f849a69eb8ce7ea9.tar.xz
mullvadvpn-4a45d23f1dad4d491ee53e74f849a69eb8ce7ea9.zip
Switch roles of NotificationArea and SecuredLabel to status
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/NotificationArea.tsx2
-rw-r--r--gui/src/renderer/components/SecuredLabel.tsx2
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>
);