@@ -601,7 +601,7 @@ void ShowResults(int orderedWordCount, int totalWordCount)
601601 // m_ClueLabel.style.display = DisplayStyle.None;
602602
603603 // Ensure the clue label always the same space in the view so do not hide it.
604- m_ClueLabel . text = " " ;
604+ m_ClueLabel . text = "" ;
605605 m_ClueLabel . style . visibility = Visibility . Hidden ;
606606 }
607607
@@ -679,7 +679,7 @@ void OnLetterCardsChanged()
679679 {
680680 var card = new UITkLetterCard ( ) ;
681681 m_LetterCardContainer . Add ( card ) ;
682- card . text = letterCard . letter . ToString ( ) ;
682+ card . text = letterCard . letter . ToString ( ) . ToUpper ( ) ;
683683 card . name = letterCard . letter . ToString ( ) ;
684684 card . GetOrCreateAccessibleProperties ( ) . label = card . text ;
685685 card . dropped += ( oldIndex , newIndex ) =>
@@ -698,7 +698,7 @@ void StateTheLetters()
698698 {
699699 // TODO: This should be localized.
700700 var listCardMessage = "The letters are now " + string . Join ( ", " ,
701- m_Model . letterCards . Select ( c => c . letter ) . ToArray ( ) ) ;
701+ m_Model . letterCards . Select ( c => " \" " + c . letter + " \" " ) . ToArray ( ) ) ;
702702 AssistiveSupport . notificationDispatcher . SendAnnouncement ( listCardMessage ) ;
703703 Debug . Log ( listCardMessage ) ;
704704 }
@@ -824,13 +824,14 @@ void MoveCard(bool shouldMoveLeft, int count = 1)
824824 if ( moved )
825825 {
826826 // TODO: This should be localized.
827- var message = $ "Moved { selectedCardText } { ( shouldMoveLeft ? "before" : "after" ) } { otherCardText } ";
827+ var message = $ "Moved \" { selectedCardText } \" { ( shouldMoveLeft ? "before" : "after" ) } " +
828+ $ "\" { otherCardText } \" ";
828829
829830 // Announce that the card was moved. Give a bit of time for the layout change notification to be
830831 // processed first so that the announcement is not interrupted by the focus change.
831832 m_MainView . schedule . Execute ( ( ) =>
832833 AssistiveSupport . notificationDispatcher . SendAnnouncement ( message )
833- ) . ExecuteLater ( 200 ) ;
834+ ) . ExecuteLater ( 200 ) ;
834835 }
835836
836837 /*var accElement = draggable.transform.GetComponent<AccessibleElement>();
@@ -840,7 +841,7 @@ void MoveCard(bool shouldMoveLeft, int count = 1)
840841 var index = draggable.transform.GetSiblingIndex();
841842 var otherSiblingIndex = shouldMoveLeft ? index + 1 : index - 1;
842843 var otherSibling = draggable.transform.parent.GetChild(otherSiblingIndex);
843- var message = $"Moved {draggable.name} {(shouldMoveLeft ? "before" : "after")} {otherSibling.name}";
844+ var message = $"Moved \" {draggable.name}\" {(shouldMoveLeft ? "before" : "after")} \" {otherSibling.name}\" ";
844845
845846 // Announce that the card was moved.
846847 AssistiveSupport.notificationDispatcher.SendAnnouncement(message);
0 commit comments