Skip to content

Commit

Permalink
Fix a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbairstow committed Aug 12, 2024
1 parent 4f3e745 commit c3c70db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="greetings">
<h1 class="green">{{ msg }}</h1>
<h3>
<div>
<h1>{{ msg }}</h1>
<h2>
You’ve successfully created a project with
<a
href="https://vitejs.dev/"
Expand All @@ -18,7 +18,7 @@
>
Vue 3
</a>
</h3>
</h2>
</div>
</template>

Expand Down
4 changes: 3 additions & 1 deletion src/stories/components/HelloWorld.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ export default {
component: HelloWorld,

argTypes: {},
args: {},
args: {
msg: 'Hello there!'
},

render: (args) => ({
components: { HelloWorld },
Expand Down

0 comments on commit c3c70db

Please sign in to comment.