Accessibility improvements

This commit is contained in:
Ilya Laktyushin
2023-02-07 16:21:02 +04:00
parent f1f4eefcbf
commit 050418b0b8
27 changed files with 299 additions and 45 deletions

View File

@@ -48,7 +48,9 @@ private final class NavigationButtonItemNode: ImmediateTextNode {
self.attributedText = NSAttributedString(string: text, attributes: self.attributesForCurrentState())
if _image == nil {
self.item?.accessibilityLabel = value
if self.item?.accessibilityLabel == nil {
self.item?.accessibilityLabel = value
}
}
}
}