Child components of ActionBar not accessibility friendly.

未關閉
#3,746 3 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
android, typescript

研究方向

首先,使用 Appium 和 UiAutomatorViewer 重現 Android 的行為,重點關注 ActionBar 的子元件,例如 ActionItem 和 NavigationButton。追蹤這些元件的 AutomationText 在哪裡公開,並驗證 Android 無障礙中繼資料是如何產生的。完成的標準是:子元件能夠公開可用的 AutomationText,並且不再因無障礙和 UI 自動化而被標記為 NAF。

由索引模型根據 Issue 內容生成。

描述

action-bar enhancement feature good first issue ux

Please, provide the details below:

Tell us about the problem

While trying to create UI automated tests with Appium we've noticed that the child components of ActionBar, such as ActionItem and NavigationButton don't have a property for AutomationText. When running UiAutomatorViewer, these objects are marked as NAF (Not Accessibility Friendly). This prevents us from allowing any accessibility features for the navigation buttons that we have in our app, as well as not allowing UI automation to be possible for those features. Is it possible to have the AutomationText property added to the child components of ActionBar? If not, what are some other UI automation strategies to handle situations like these?

Which platform(s) does your issue occur on?

Only confirmed for Android.

Please provide the following version numbers that your issue occurs with:
  • CLI: 2.5.0
  • Cross-platform modules: 2.5.1
  • Runtime(s): Android: 2.5.0

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

主要語言
TypeScript
星號
25.7k
分支
1.7k
平均合併
1 天 5 小時
30 天內合併 PR
35

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NativeScript/NativeScript 的其他 Issue

查看 NativeScript/NativeScript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。