Skip to content

Commit

Permalink
adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalPineapple committed Feb 6, 2025
1 parent 6461e94 commit 298dc3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BlueprintUI/Sources/Element/Accessibility.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ public struct Accessibility {} // Namespace for collecting Blueprint models of

// MARK: - Accessibility Traits
extension Accessibility {

/// Constants that describe how an accessibility element behaves.
/// Set these traits to tell an assistive app how an accessibility element behaves or how to treat it.
/// See [UIAccessibilityTraits](https://developer.apple.com/documentation/uikit/uiaccessibilitytraits) for further information.
public enum Trait {

/// Used in conjunction with UIAccessibilityTrait.adjustable, these will be called to allow accessible adjustment of a value, for example in a slider or stepper control.
/// See [Accessibility Increment Documentation](https://developer.apple.com/documentation/objectivec/nsobject/1615076-accessibilityincrement) for further information.
public typealias IncrementAction = () -> Void
Expand Down

0 comments on commit 298dc3e

Please sign in to comment.