• Home
Name Date Size #Lines LOC

..--

common/12-May-2024-9,1135,947

figures/12-May-2024-

frameworks/12-May-2024-15,10810,539

interfaces/12-May-2024-18,24411,347

resources/config/build/12-May-2024-2421

sa_profile/12-May-2024-7754

services/12-May-2024-41,53129,617

BUILD.gnD12-May-2024617 1513

LICENSED12-May-202410.1 KiB177150

OAT.xmlD12-May-20244 KiB6816

README.mdD12-May-20243.8 KiB7653

README_zh.mdD12-May-20243.4 KiB7754

accessibility_aafwk.gniD12-May-2024925 1917

bundle.jsonD12-May-20244.9 KiB132131

hisysevent.yamlD12-May-20242.4 KiB487

README.md

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

README_zh.md

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