Skip to content

Commit

Permalink
fix: wrong translate of Chrome DevTools (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong2008 committed Apr 27, 2024
1 parent f2270e1 commit a71e111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guide/best-practices/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ watch(

<!-- <common-codepen-snippet title="Form Label" slug="XWpaaaj" :height="265" tab="js,result" theme="light" :preview="false" :editable="false" /> -->

如果你在 chrome 开发工具中检查这个元素,并打开 Elements 选项卡中的 Accessibility 选项卡,你将看到输入是如何从标签中获取其名称的:
如果你在 Chrome 开发者工具中检查这个元素,并打开 Elements 选项卡中的 Accessibility 选项卡,你将看到输入是如何从标签中获取其名称的:

![Chrome 开发者工具正在通过标签展示无障碍访问的 input 框的名字](./images/AccessibleLabelChromeDevTools.png)

Expand Down Expand Up @@ -268,7 +268,7 @@ watch(

<!-- <common-codepen-snippet title="Form ARIA describedby" slug="gOgxxQE" :height="265" tab="js,result" theme="light" :preview="false" :editable="false" /> -->

你可以通过使用 Chrome 开发工具来查看说明
你可以通过使用 Chrome 开发者工具来查看说明

![Chrome 开发者工具正在根据 aria-labelledby 和 aria-describedby 展示 input 的无障碍访问名和无障碍访问描述信息](./images/AccessibleARIAdescribedby.png)

Expand Down

0 comments on commit a71e111

Please sign in to comment.