feat: added tooltips to the missing elements and enabled accessibility on some not natively supported (#2321)

This commit is contained in:
Serhiy Mytrovtsiy
2025-01-17 18:32:29 +01:00
parent 8de91d9d74
commit 08c4ab9f97
13 changed files with 63 additions and 11 deletions

View File

@@ -513,7 +513,8 @@ private class ModulePreview: NSStackView {
self.layer?.backgroundColor = NSColor.white.cgColor
self.identifier = NSUserInterfaceItemIdentifier(rawValue: id)
self.toolTip = localizedString("Move module", id)
self.setAccessibilityElement(true)
self.toolTip = id
self.orientation = .vertical
self.distribution = .fill