File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -768,29 +768,10 @@ void CConnectDlg::UpdateAccessibleServerInfo()
768768 labelText += tr ( " <b>Version:</b> %1" ).arg ( version );
769769 }
770770
771- // Build text for screen readers (without HTML)
772- QString accessibleText = tr ( " Server: %1" ).arg ( serverName );
773- if ( !pingTime.isEmpty () )
774- {
775- accessibleText += tr ( " , Ping: %1" ).arg ( pingTime );
776- }
777- if ( !musicians.isEmpty () )
778- {
779- accessibleText += tr ( " , Musicians: %1" ).arg ( musicians );
780- }
781- if ( !location.isEmpty () )
782- {
783- accessibleText += tr ( " , Location: %1" ).arg ( location );
784- }
785- if ( !version.isEmpty () )
786- {
787- accessibleText += tr ( " , Version: %1" ).arg ( version );
788- }
789-
790771 // Update label
791772 lblAccessibleServerInfo->setText ( labelText );
792- lblAccessibleServerInfo->setAccessibleName ( tr ( " Selected server: %1 " ). arg ( serverName ) );
793- lblAccessibleServerInfo->setAccessibleDescription ( accessibleText );
773+ lblAccessibleServerInfo->setAccessibleName ( tr ( " Seelected server information box " ) );
774+ lblAccessibleServerInfo->setAccessibleDescription ( tr ( " Show stats for selected server " ) );
794775
795776 // Update navigation buttons to show previous/next server names
796777 int currentIndex = lvwServers->indexOfTopLevelItem ( pItem );
You can’t perform that action at this time.
0 commit comments