diff --git a/web/src/beta/features/Visualizer/Crust/Widgets/Widget/builtin/Navigator/UI/index.tsx b/web/src/beta/features/Visualizer/Crust/Widgets/Widget/builtin/Navigator/UI/index.tsx index 33098d830..d73d77246 100644 --- a/web/src/beta/features/Visualizer/Crust/Widgets/Widget/builtin/Navigator/UI/index.tsx +++ b/web/src/beta/features/Visualizer/Crust/Widgets/Widget/builtin/Navigator/UI/index.tsx @@ -71,7 +71,7 @@ const NavigatorUI: React.FC = memo(function NavigatorPresenterMemo({ > @@ -92,7 +92,7 @@ const NavigatorUI: React.FC = memo(function NavigatorPresenterMemo({ > @@ -101,16 +101,16 @@ const NavigatorUI: React.FC = memo(function NavigatorPresenterMemo({ - + - + diff --git a/web/src/beta/lib/reearth-ui/components/Icon/index.tsx b/web/src/beta/lib/reearth-ui/components/Icon/index.tsx index 830f61c18..9ea139041 100644 --- a/web/src/beta/lib/reearth-ui/components/Icon/index.tsx +++ b/web/src/beta/lib/reearth-ui/components/Icon/index.tsx @@ -10,13 +10,15 @@ export type IconProps = { size?: "large" | "normal" | "small" | number; color?: string; className?: string; + ariaLabel?: string; }; export const Icon: FC = ({ icon, size = "normal", color, - className + className, + ariaLabel }) => { const theme = useTheme(); const SvgIcon = useMemo(() => { @@ -36,6 +38,11 @@ export const Icon: FC = ({ }, [icon, theme]); return SvgIcon ? ( - + ) : null; };