Skip to content

Commit bdc455a

Browse files
authored
Guide > Accessibility > Basics の翻訳を追従 (#294)
* docs: migrate 3 CodePens to the Vue account vuejs/docs@beb65fb#diff-87162cc46e3a6b07566bab1abe9cd2ace23a1df367d04d038a0658e1a376e939 * chore: remove spaces between triple backticks and the language vuejs/docs@0f25a8d#diff-87162cc46e3a6b07566bab1abe9cd2ace23a1df367d04d038a0658e1a376e939
1 parent 6f78716 commit bdc455a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/guide/a11y-basics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
すべてのページで最初にフォーカス可能な要素になるため、通常これは `App.vue` の上部で使われます:
1414

15-
``` html
15+
```html
1616
<ul class="skip-links">
1717
<li>
1818
<a href="#main" ref="skipLink">Skip to main content</a>
@@ -22,7 +22,7 @@
2222

2323
フォーカスされていない時にリンクを非表示にするには、以下のスタイルを追加します:
2424

25-
``` css
25+
```css
2626
.skipLink {
2727
white-space: nowrap;
2828
margin: 1em auto;
@@ -42,7 +42,7 @@
4242

4343
ユーザがルートを変更したら、スキップリンクにフォーカスを戻します。これは以下のように `ref` にフォーカスを呼ぶことで実現できます:
4444

45-
``` vue
45+
```vue
4646
<script>
4747
export default {
4848
watch: {
@@ -54,7 +54,7 @@ export default {
5454
</script>
5555
```
5656

57-
<common-codepen-snippet title="Skip to Main" slug="VwepxJa" :height="350" tab="js,result" :team="false" user="mlama007" name="Maria" theme="light" :preview="false" :editable="false" />
57+
<common-codepen-snippet title="Skip to Main" slug="GRrvQJa" :height="350" tab="js,result" theme="light" :preview="false" :editable="false" />
5858

5959
[メインコンテンツへのスキップリンクについてのドキュメントを読む](https://www.w3.org/WAI/WCAG21/Techniques/general/G1.html)
6060

0 commit comments

Comments
 (0)