gutenbergdocs/docs/how-to-guides/accessibility.md
2025-10-22 01:40:18 +08:00

16 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 可访问性
为参与古腾堡项目开发的工程师提供的无障碍功能文档。
有关WordPress无障碍功能的更多信息请参阅[WordPress无障碍功能手册](https://make.wordpress.org/accessibility/handbook/)及[无障碍功能团队专区](https://make.wordpress.org/accessibility/)。
## 地标区域
最佳实践是将页面所有内容都包含在地标区域内,这样依赖地标区域在版块间导航的屏幕阅读器用户就不会遗漏内容。
关于设置不同区域间的导航功能,请参阅[navigateRegions组件包](/packages/components/src/higher-order/navigate-regions/README.md)获取详细文档。
更多关于地标设计的W3C标准
- [地标设计通用原则](https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/#x4-2-general-principles-of-landmark-design)
- [ARIA地标区域范例](https://www.w3.org/WAI/ARIA/apg/example-index/landmarks/)
- [默认定义ARIA地标的HTML5元素](https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/#x4-1-html-sectioning-elements)