Which a11y features does it look for and is this library under active development or is in maintenance mode only?

49 views
Skip to first unread message

Parth Parikh

unread,
May 4, 2023, 3:05:42 PM5/4/23
to ios-accessibility
Hello,
Which a11y features does it look for and is this library under active development or is in maintenance mode only? 

Cooper Knaak

unread,
May 4, 2023, 3:25:12 PM5/4/23
to ios-accessibility
If you're referring to GTXILib, the canonical list of checks is the methods of GTXChecksCollection. Reproduced below:
  •  checkForAXLabelPresent: checks that all accessibility elements have an accessibility label.
  • checkForAXLabelNotPunctuated: checks that accessibility labels don't end in punctuation. Accessibility labels are not sentences and should not end in punctuation, per Apple's guidelines.
  • checkForAXLabelNotRedundantWithTraits: checks that accessibility labels don't contain text that is already exposed by its accessibility traits. For example, VoiceOver already announces the word "button" for elements with trait UIAccessibilityTraitButton. If that element's accessibility label was "save button", a VoiceOver user would here "save button button".
  • checkForAXTraitDontConflict: checks that an element's accessibility traits do not conflict with each other. For example, an element cannot be both a button and adjustable at the same time.
  • checkForMinimumTappableArea: checks that an interactive element is large enough to be easily tapped or otherwise interacted with.
  • checkForSufficientContrastRatio: checks that labels have a sufficient contrast ratio between text color and background color.
  • checkForSufficientTextViewContrastRatio: same as above, but specifically for UITextView.
  • checkForSufficientContrastRatioUsingOCR: same as above, but uses OCR to identify location of text within a view.
  • checkForSupportsDynamicType: checks if a text displaying element increases or decreases its font size according to the user's Dynamic Type settings.
Both GTXiLib and GSCXScanner are in active development.

Sincerely,

Cooper Knaak

Parth Parikh

unread,
May 4, 2023, 3:39:25 PM5/4/23
to ios-accessibility
Hi Cooper,

thank you for your fast response.

I am referring to GTXiLib. 

Thank you for listing all the features. 

Reply all
Reply to author
Forward
0 new messages