From 730fcf06cca0ce2c891db2879f6cb5900ad1accb Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 18 Nov 2026 00:07:30 +0000 Subject: [PATCH] =?UTF-8?q?Calendario:=20etichette=20VoiceOver=20su=20heat?= =?UTF-8?q?map=20e=20densit=C3=A0=20ore=20(#25)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01AVhvvKHXexaforc2hCp7kY --- CalenTask/Features/Calendar/CalendarScreen.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CalenTask/Features/Calendar/CalendarScreen.swift b/CalenTask/Features/Calendar/CalendarScreen.swift index 986814a..fb8823b 100644 --- a/CalenTask/Features/Calendar/CalendarScreen.swift +++ b/CalenTask/Features/Calendar/CalendarScreen.swift @@ -393,6 +393,8 @@ struct CalendarScreen: View { .foregroundStyle(monthHeatmap ? Color.accentColor : Color.secondary) } .buttonStyle(.plain) + .accessibilityLabel("Heatmap densità") + .accessibilityAddTraits(monthHeatmap ? .isSelected : []) .help("Heatmap densità") .padding(.trailing, DS.s) } @@ -655,6 +657,7 @@ struct CalendarScreen: View { .frame(width: 28, height: 24) .contentShape(Rectangle()) } + .accessibilityLabel("Riduci altezza ore") .disabled(CGFloat(hourHeightStored) <= hourHeightRange.lowerBound) Divider().frame(height: 14) Button { adjustHourHeight(10) } label: { @@ -662,6 +665,7 @@ struct CalendarScreen: View { .frame(width: 28, height: 24) .contentShape(Rectangle()) } + .accessibilityLabel("Aumenta altezza ore") .disabled(CGFloat(hourHeightStored) >= hourHeightRange.upperBound) } .font(.dsCaption.weight(.bold))