diff --git a/gui/src/components/StyledMarkdownPreview/StepContainerPreToolbar/RunInTerminalButton.tsx b/gui/src/components/StyledMarkdownPreview/StepContainerPreToolbar/RunInTerminalButton.tsx
index 4d6aa97bd89..3ffac783c30 100644
--- a/gui/src/components/StyledMarkdownPreview/StepContainerPreToolbar/RunInTerminalButton.tsx
+++ b/gui/src/components/StyledMarkdownPreview/StepContainerPreToolbar/RunInTerminalButton.tsx
@@ -19,6 +19,8 @@ export function RunInTerminalButton({ command }: RunInTerminalButtonProps) {
return (
diff --git a/gui/src/components/StyledMarkdownPreview/StepContainerPreToolbar/ToolbarButtonWithTooltip.tsx b/gui/src/components/StyledMarkdownPreview/StepContainerPreToolbar/ToolbarButtonWithTooltip.tsx
index fcf3a76b128..95ddce9bbd2 100644
--- a/gui/src/components/StyledMarkdownPreview/StepContainerPreToolbar/ToolbarButtonWithTooltip.tsx
+++ b/gui/src/components/StyledMarkdownPreview/StepContainerPreToolbar/ToolbarButtonWithTooltip.tsx
@@ -6,6 +6,7 @@ interface ToolbarButtonWithTooltipProps {
children: ReactNode;
tooltipContent: string;
"data-testid"?: string;
+ "aria-label"?: string;
}
export function ToolbarButtonWithTooltip({
@@ -13,10 +14,13 @@ export function ToolbarButtonWithTooltip({
children,
tooltipContent,
"data-testid": testId,
+ "aria-label": ariaLabel,
}: ToolbarButtonWithTooltipProps) {
return (
{
e.stopPropagation();
onClick();
diff --git a/gui/src/components/gui/HeaderButtonWithToolTip.tsx b/gui/src/components/gui/HeaderButtonWithToolTip.tsx
index 602581e4362..1930d1b0d22 100644
--- a/gui/src/components/gui/HeaderButtonWithToolTip.tsx
+++ b/gui/src/components/gui/HeaderButtonWithToolTip.tsx
@@ -18,6 +18,7 @@ interface HeaderButtonWithToolTipProps {
hoverBackgroundColor?: string;
tooltipPlacement?: PlacesType;
testId?: string;
+ "aria-label"?: string;
}
const HeaderButtonWithToolTip = React.forwardRef<
@@ -41,6 +42,7 @@ const HeaderButtonWithToolTip = React.forwardRef<
style={props.style}
ref={ref}
tabIndex={props.tabIndex}
+ aria-label={props["aria-label"] ?? props.text}
>
{props.children}