• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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