• Home
Name Date Size #Lines LOC

..--

common/07-Sep-2024-13,8569,391

figures/07-Sep-2024-

frameworks/07-Sep-2024-18,00512,763

interfaces/07-Sep-2024-21,15313,524

resources/config/build/07-Sep-2024-2421

sa_profile/07-Sep-2024-7165

services/07-Sep-2024-51,29838,371

BUILD.gnD07-Sep-2024617 1513

CODEOWNERSD07-Sep-2024789 1614

LICENSED07-Sep-202410.1 KiB177150

OAT.xmlD07-Sep-20244 KiB6816

README.mdD07-Sep-20244.5 KiB8357

README_zh.mdD07-Sep-20244.1 KiB8458

accessibility_aafwk.gniD07-Sep-20241 KiB2220

accessibility_manager_service.gniD07-Sep-20241.8 KiB5444

bundle.jsonD07-Sep-20245.7 KiB154153

hisysevent.yamlD07-Sep-20242.4 KiB487

README.md

1# Accessibility
2
3- [Accessibility](#accessibility)
4  - [Introduction](#introduction)
5  - [Architecture](#architecture)
6  - [Directory Structure](#directory-structure)
7  - [Usage](#usage)
8  - [Repositories Involved](#repositories-involved)
9
10## Introduction<a name="intro"></a>
11
12The accessibility framework provides a standard mechanism for exchanging information between applications and accessibility applications and supports the development of accessibility applications to enhance the accessibility experience. The typical use cases are as follows:
13
141. Allow people with disabilities to use applications. For example, provide the screen reader for people with visual impairments.
151. Provide the capability to interact with applications. For example, offer the UI automatic test framework and the capability to develop accessibility applications based on UI responses.
16
17## Architecture
18![](./figures/AccessibilityFramework.png)
19
20**Application Layer**:
21
22- Use Accessibility-Extension-Ability to develop applications with accessible capabilities.
23-  General applications are integrated into accessible target applications from  ACE, and use accessible capabilities.
24- The system settings application allows you to turn on/off for accessible capabilities.
25
26**Application Framework Layer**:
27
28- AAkit: Accessible Ability development kit, which supports Native and TS language development, is  used to build an accessible ability execution environment.
29
30- ASACkit:Accessibility System Ability Client development kit, which supports Native and TS language development, provides the ability to use accessible capabilities for applications.
31
32- ACkit:Accessibility Configuration development kit, which supports Native and TS  language development and provides the ability to set accessible capability switches for system applications.
33
34**System Service Layer**:
35
36- AccessibilityService: Service is management of accessible-ability connections, and the server connected by the accessibility client  (ASAKit), and connects other system layer services to provide  accessibility input capability.
37
38## Directory Structure<a name="files"></a>
39
40```
41/foundation/barrierfree/accessibility
42├── common
43│   ├── interface           # Accessibility-service interface
44│   └── log                 # Hilog adaption
45├── figures                 # Figures of README
46├── frameworks
47│   ├── aafwk               # AccessibleAbility-Kit implementation code
48│   ├── acfwk               # AccessibilityConfiguration-Kit implementation code
49│   ├── asacfwk             # AccessibleAbilityClient-Kit implementation code
50│   └── common              # Common data-types and constants
51├── interfaces
52│   ├── innerkits           # Internal C/C++ APIs of Accessibility
53│   └── kits                # Developer TS APIs of Accessibility
54│       ├── js              # TS APIs
55│       └── napi            # Implementation of TS APIs
56├── resources               # Resource files of accessibility
57├── sa_profile              # SA-Configuration files of accessibility
58└── services
59    ├── aams                # Accessibility-service code
60    ├── etc                 # Configuration files of accessibility-service
61    └── test                # Test-code of accessibility-service
62```
63
64## Usage<a name="usage"></a>
65
66[1. accessibility configuration](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-accessibility-config-sys.md)
67
68[2. accessibility extension](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-inner-application-accessibilityExtensionContext.md)
69
70[3. accessibility](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-accessibility.md)
71
72[4. accessibility extension ability](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-application-accessibilityExtensionAbility.md)
73
74[5. accessibility gesturePath](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-accessibility-GesturePath.md)
75
76[6. accessibility gesturePoint](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-accessibility-GesturePoint.md)
77
78## Repositories Involved<a name="relevant"></a>
79
80**accessibility**
81
82[accessibility](https://gitee.com/openharmony/accessibility)
83

README_zh.md

1# 无障碍子系统
2
3- [无障碍子系统](#无障碍子系统)
4  - [简介](#简介)
5  - [架构图](#架构图)
6  - [目录](#目录)
7  - [使用说明](#使用说明)
8  - [相关仓](#相关仓)
9## 简介<a name="intro"></a>
10
11**无障碍子系统**提供在应用程序和辅助应用之间交换信息的标准机制,支持开发辅助应用增强无障碍功能体验。典型的应用场景包含两方面:
12
131. 为残障人士提供使用应用的能力:例如针对视觉障碍人士提供屏幕朗读等功能。
142. 为开发者提供与应用交互的能力:例如支持 UI 自动化测试框架、支持开发基于 UI 响应的辅助应用。
15
16## 架构图<a name="architecture"></a>
17
18**图1** 无障碍子系统架构图
19
20![架构图](./figures/AccessibilityFramework.png)
21
22**应用层**:
23
24- 使用无障碍ExtensionAbility开发带有辅助能力的应用。
25- 一般应用由ACE内部集成成为无障碍目标应用,同时可以使用无障碍辅助能力。
26- 通过系统设定应用可以设定无障碍功能的开关。
27
28**应用框架层**:
29
30- AAkit:无障碍辅助能力开发套件,支持Native和TS语言开发,用来构建无障碍辅助能力运行环境。
31
32- ASACkit:无障碍能力客户端开发套件,支持Native和TS语言开发,为应用程序提供使用无障碍辅助服务的能力。
33
34- ACkit:无障碍功能设定开发套件,支持Native和TS语言开发,为系统应用提供设置无障碍功能开关的能力。
35
36**服务层**:
37
38- AccessibilityService:无障碍系统服务,管理无障碍辅助能力,无障碍能力客户端(ASACkit)连接的服务端,同时连接其他系统级服务以提供无障碍输入能力。
39
40## 目录<a name="files"></a>
41
42```
43/foundation/barrierfree/accessibility
44├── common
45│   ├── interface           # 无障碍子系统服务接口层
46│   └── log                 # 无障碍子系统hilog适配代码
47├── figures                 # README图片
48├── frameworks
49│   ├── aafwk               # 无障碍辅助能力Kit实现代码
50│   ├── acfwk               # 无障碍功能设定Kit实现代码
51│   ├── asacfwk             # 无障碍能力客户端Kit实现代码
52│   └── common              # 无障碍服务共同数据类型与常量
53├── interfaces
54│   ├── innerkits           # 无障碍子系统内部C/C++接口
55│   └── kits                # 无障碍子系统对外TS接口
56│       ├── js              # TS接口定义
57│       └── napi            # TS接口实现
58├── resources               # 无障碍子系统资源文件
59├── sa_profile              # 无障碍子系统SA配置文件
60└── services
61    ├── aams                # 无障碍子系统服务代码
62    ├── etc                 # 无障碍子系统配置文件
63    └── test                # 无障碍子系统服务测试代码
64```
65
66## 使用说明<a name="usage"></a>
67
68[1. 系统辅助功能配置](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-accessibility-config-sys.md)
69
70[2. 辅助扩展扩展上下文](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-inner-application-accessibilityExtensionContext.md)
71
72[3. 辅助功能](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-accessibility.md)
73
74[4. 辅助功能扩展能力](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-application-accessibilityExtensionAbility.md)
75
76[5. 手势路径](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-accessibility-GesturePath.md)
77
78[6. 手势触摸点](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-accessibility-kit/js-apis-accessibility-GesturePoint.md)
79
80## 相关仓<a name="relevant"></a>
81
82**无障碍子系统**
83
84[accessibility](https://gitee.com/openharmony/accessibility)