From cfb07caf2f39446f62923d46ef3e2a4fecc9e126 Mon Sep 17 00:00:00 2001 From: Sarah Rietkerk Date: Thu, 22 Jan 2026 23:36:08 +0000 Subject: [PATCH 1/3] logos in top bar are aria hidden when uninteractive and buttons and a menuitem when interactive --- theme/common.less | 9 +++++++++ webapp/src/headerbar.tsx | 21 +++++++++++++++++---- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/theme/common.less b/theme/common.less index 6a983b5a7025..dfda68224075 100644 --- a/theme/common.less +++ b/theme/common.less @@ -604,6 +604,15 @@ div.simframe > iframe { margin-bottom: 1px; } +.ui.item.logo span.name { + margin-left: 1rem; + margin-bottom: 1px; +} + +.ui.item.logo button.name, button.name-short { + margin-left: 0 !important; +} + .ui.item.logo .name-short { display: none; } diff --git a/webapp/src/headerbar.tsx b/webapp/src/headerbar.tsx index 590e36ba7bae..d58c54e80bdf 100644 --- a/webapp/src/headerbar.tsx +++ b/webapp/src/headerbar.tsx @@ -14,6 +14,7 @@ import * as tutorial from "./tutorial"; import ISettingsProps = pxt.editor.ISettingsProps; import { ThemeManager } from "../../react-common/components/theming/themeManager"; +import { Button } from "../../react-common/components/controls/Button"; type HeaderBarView = "home" | "editor" | "tutorial" | "tutorial-tab" | "debugging" | "sandbox" | "time-machine"; const LONGPRESS_DURATION = 750; @@ -107,7 +108,7 @@ export class HeaderBar extends data.Component { return <>; } - return
+ return