Revision: 27807
http://sourceforge.net/p/bibdesk/svn/27807
Author: hofman
Date: 2022-08-17 14:59:37 +0000 (Wed, 17 Aug 2022)
Log Message:
-----------
set accessibility description of count images
Modified Paths:
--------------
trunk/bibdesk/BDSKGroupBubbleView.m
trunk/bibdesk/BDSKGroupOutlineView.m
Modified: trunk/bibdesk/BDSKGroupBubbleView.m
===================================================================
--- trunk/bibdesk/BDSKGroupBubbleView.m 2022-08-16 16:13:13 UTC (rev 27806)
+++ trunk/bibdesk/BDSKGroupBubbleView.m 2022-08-17 14:59:37 UTC (rev 27807)
@@ -75,10 +75,6 @@
}
}
-- (NSString *)accessibilityLabel {
- return [NSString stringWithFormat:@"%ld", (long)[self tag]];
-}
-
@end
Modified: trunk/bibdesk/BDSKGroupOutlineView.m
===================================================================
--- trunk/bibdesk/BDSKGroupOutlineView.m 2022-08-16 16:13:13 UTC (rev
27806)
+++ trunk/bibdesk/BDSKGroupOutlineView.m 2022-08-17 14:59:37 UTC (rev
27807)
@@ -162,6 +162,8 @@
[countImage unlockFocus];
}
[countImage setTemplate:YES];
+ if (count > 0)
+ [countImage setAccessibilityDescription:[NSString
stringWithFormat:@"%ld", count]];
if (countImages == nil)
countImages = NSCreateMapTable(NSIntegerMapKeyCallBacks,
NSObjectMapValueCallBacks, 0);
NSMapInsert(countImages, (const void *)count, countImage);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit