From 962f94837d7d8a000c4d24114e7cf75f17e35227 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 13 Aug 2021 09:06:59 +0100 Subject: [PATCH] Accessibility: Update button labels in AccessibilityDemo to silence Accessibility Inspector audit warnings --- examples/GUI/AccessibilityDemo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/GUI/AccessibilityDemo.h b/examples/GUI/AccessibilityDemo.h index 08f87e8ad1..50d27fc3b6 100644 --- a/examples/GUI/AccessibilityDemo.h +++ b/examples/GUI/AccessibilityDemo.h @@ -241,8 +241,8 @@ private: //============================================================================== RadioButtonsGroupComponent radioButtons; - TextButton textButton { "TextButton" }; - ShapeButton shapeButton { "ShapeButton", + TextButton textButton { "Press me!" }; + ShapeButton shapeButton { "Pressable JUCE Logo", Colours::darkorange, Colours::darkorange.brighter (0.5f), Colours::darkorange.brighter (0.75f) }; @@ -386,8 +386,8 @@ private: //============================================================================== Label descriptionLabel { {}, "This is a demo of a few of the accessible built-in JUCE widgets.\n\n" - "To navigate this demo with a screen reader, either enable VoiceOver on macOS " - "or Narrator on Windows and follow the navigational prompts." }; + "To navigate this demo with a screen reader, either enable VoiceOver on macOS and iOS, " + "TalkBack on Android, or Narrator on Windows and follow the navigational prompts." }; ButtonsComponent buttonsComponent; SlidersComponent slidersComponent;