Skip to content

Commit 08dcf60

Browse files
authored
Merge pull request #62 from wedinc/bugfix/fix-alt-tag
add alt tag
2 parents 1d63231 + 78340d8 commit 08dcf60

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

components/content/ProseA.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<slot />
44
<img
55
src="@/assets/images/link.svg"
6+
alt="External link icon"
67
class="w-3 m-0 ml-1 mb-1.5 inline align-bottom"
78
/>
89
</NuxtLink>

components/content/ProseCode.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<slot />
44
<img
55
src="@/assets/images/copy.svg"
6+
alt="Copy to clipboard"
67
class="copy-btn absolute w-7 top-2 right-2 bg-gray-600 hover:bg-gray-500 rounded-xl p-0.5 box-content transition-colors cursor-pointer m-0"
78
@click="onClick"
89
/>

nuxt.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ export default defineNuxtConfig({
1111
type: 'image/x-icon',
1212
href: '/favicon.ico'
1313
}
14-
]
14+
],
15+
htmlAttrs: {
16+
lang: 'ja'
17+
}
1518
}
1619
},
1720
devtools: { enabled: true },

0 commit comments

Comments
 (0)