Skip to content

Commit

Permalink
expose accessibility string (microsoft#2011)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderboswell authored Apr 30, 2024
1 parent c1260d9 commit 2bf7785
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/FluentUI/Navigation/NavigationBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ open class NavigationBar: UINavigationBar, TokenizedControlInternal, TwoLineTitl
/// A temporary change so that consumers who use SwiftUI for navigation can avoid duplicated resources until support of a swiftUI control is available.
@objc public static let backButtonAccessibilityLabel: String = "Accessibility.NavigationBar.BackLabel".localized

/// The accessibility label that should be applied for the done button for when navigation bar is shown in a modal view.
/// A temporary change so that consumers who use SwiftUI for navigation can avoid duplicated resources until support of a swiftUI control is available.
@objc public static let doneButtonAccessibilityLabel: String = "Accessibility.Done.Label".localized

/// An element size to describe the behavior of large title's avatar. If `.automatic`, avatar will resize when `expand(animated:)` and `contract(animated:)` are called.
@objc open var avatarSize: ElementSize = .automatic {
didSet {
Expand Down

0 comments on commit 2bf7785

Please sign in to comment.