fix(app): short accessible names for the rail and archive-year toggles

Both icon-only buttons used their tooltip sentence as their name. They now
read "Collapse navigation" / "Expand navigation" (Shell.Nav.Collapse,
Shell.Nav.Expand) and "Hide year" / "Show year" (Archive.Tree.Collapse,
Archive.Tree.Expand); the sentences stay their tooltips.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-06 21:10:45 +00:00
1 parent d3af89fc27
commit 1f0adc76bb
10 files changed
+22 -2

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@
<DockPanel Margin="8,8,8,8" LastChildFill="False">
<Button DockPanel.Dock="Top" Style="{StaticResource Button.IconSubtle}" HorizontalAlignment="Left" Margin="0,0,0,6"
ui:ButtonIcon.Glyph="{StaticResource Icon.Menu}" Command="{Binding ToggleRailCommand}"
ToolTip="{Binding RailToggleToolTip}" AutomationProperties.Name="{Binding RailToggleToolTip}" />
ToolTip="{Binding RailToggleToolTip}" AutomationProperties.Name="{Binding RailToggleName}" />
<ItemsControl DockPanel.Dock="Top" ItemsSource="{Binding TopSections}" Focusable="False">
<ItemsControl.ItemTemplate>
<DataTemplate DataType="{x:Type shell:SectionViewModel}">