summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/ImageView.tsx2
-rw-r--r--gui/src/renderer/components/NavigationBar.tsx10
-rw-r--r--gui/src/renderer/components/NotificationArea.tsx2
3 files changed, 10 insertions, 4 deletions
diff --git a/gui/src/renderer/components/ImageView.tsx b/gui/src/renderer/components/ImageView.tsx
index 6765b89a53..0414f8f1ff 100644
--- a/gui/src/renderer/components/ImageView.tsx
+++ b/gui/src/renderer/components/ImageView.tsx
@@ -55,7 +55,7 @@ export default function ImageView(props: IImageViewProps) {
} else {
return (
<Wrapper onClick={props.onClick} className={props.className}>
- <img src={url} width={props.width} height={props.height} />
+ <img src={url} width={props.width} height={props.height} aria-hidden={true} />
</Wrapper>
);
}
diff --git a/gui/src/renderer/components/NavigationBar.tsx b/gui/src/renderer/components/NavigationBar.tsx
index 7d6e5a0714..aaa53e99a7 100644
--- a/gui/src/renderer/components/NavigationBar.tsx
+++ b/gui/src/renderer/components/NavigationBar.tsx
@@ -213,11 +213,17 @@ export const TitleBarItem = React.memo(function TitleBarItemT(props: ITitleBarIt
return (
<StyledTitleBarItemContainer ref={titleContainerRef}>
- <StyledTitleBarItemLabel titleAdjustment={titleAdjustment} visible={visible}>
+ <StyledTitleBarItemLabel
+ titleAdjustment={titleAdjustment}
+ visible={visible}
+ aria-hidden={!visible}>
{props.children}
</StyledTitleBarItemLabel>
- <StyledTitleBarItemMeasuringLabel titleAdjustment={0} ref={measuringTitleRef}>
+ <StyledTitleBarItemMeasuringLabel
+ titleAdjustment={0}
+ ref={measuringTitleRef}
+ aria-hidden={true}>
{props.children}
</StyledTitleBarItemMeasuringLabel>
</StyledTitleBarItemContainer>
diff --git a/gui/src/renderer/components/NotificationArea.tsx b/gui/src/renderer/components/NotificationArea.tsx
index 8cbee0df0f..2d4b0cd2d2 100644
--- a/gui/src/renderer/components/NotificationArea.tsx
+++ b/gui/src/renderer/components/NotificationArea.tsx
@@ -80,7 +80,7 @@ export default function NotificationArea(props: IProps) {
}
}
- return <NotificationBanner className={props.className} visible={false} />;
+ return <NotificationBanner className={props.className} visible={false} aria-hidden={true} />;
}
interface INotificationActionWrapperProps {