> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# lynx: accessibilityAnnounce() static method

APISummary
让屏幕阅读器朗读指定的文本内容，帮助视觉障碍用户感知界面状态变化或操作结果。

## 语法

```ts
accessibilityAnnounce({"content" : string}) : void;
```

### 参数

#### `content`

待朗读文本内容

## 示例

```jsx
lynx.accessibilityAnnounce(
  {
    content: 'hello lynx',
  },
  (res) => {
    console.log('test: ' + JSON.stringify(res));
  },
);
```

## 兼容性

**Compatibility Table**

**Query:** `lynx-api.lynx.accessibilityAnnounce`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-api/lynx/accessibilityAnnounce.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| accessibilityAnnounce | Yes (2.13) | Yes (3.5) | Yes (2.13) | No | No | No |

**`accessibilityAnnounce`**

Used to have the specified text content read by the screen reader.

