~/talk

Find Elements By Accessibility Id

Talkat AppiumConf 2019 · 2019-06-13..06-15· [accessibility, testing]
links:none on file
slides:none on file

Explains that Accessibility ID maps to platform APIs (Android UIAutomator, iOS XCUITest) and stays near-constant as UI depth increases while XPath requires Appium to serialize the view hierarchy to XML and run queries remotely, so it is slower — example: a simple demo finds a button in ~74 ms with accessibility id versus ~318 ms via XPath, and XPath timings explode with nesting (iOS crashes after ~50 nested views). Shows how to add IDs via contentDescription on Android and accessibilityLabel on iOS and notes frameworks (React Native, Flutter) and the 15% disability stat.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Overview
  3. 2:56What are accessibility IDs
  4. 4:43How accessibility IDs work
  5. 6:40How to add accessibility IDs
  6. 8:28iOS
  7. 9:04iOS Code
  8. 11:23Why is accessibility ID fast
  9. 11:54Simple app
  10. 12:22Speed test
  11. 12:55Accessibility
  12. 13:42Accessibility Statistics
  13. 14:46Accessibility Tests
  14. 15:58Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.