Skip to content

Commit

Permalink
fix accessibility issues on demo and signup
Browse files Browse the repository at this point in the history
  • Loading branch information
stitch committed Nov 21, 2023
1 parent e4518c0 commit 7424164
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/signup/SignupForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
v-model="form.terms_of_use"

:state="form.terms_of_use.includes('accepted')"
id="checkboxes-terms-of-use"

:aria-describedby="ariaDescribedby"
>

Expand Down
2 changes: 1 addition & 1 deletion src/components/tour/DemoImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:index="index"
@close="index = null">
</CoolLightBox>
<a @click="index = 0" href="#" :aria-label="caption">
<a @click="index = 0" href="#">
<figure>
<b-img-lazy fluid rounded blank-color="#777"
:src="`/static_frontend/images/demo/${filename}.png`" :alt="caption"></b-img-lazy>
Expand Down
6 changes: 4 additions & 2 deletions src/components/tour/FeatureRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<demo-image :filename="`${feature}`" :caption=" translation.t(`${feature}.caption`)" />
</b-col>
<b-col>
<h3>{{ translation.t(`${feature}.title`) }}</h3>
<h2>{{ translation.t(`${feature}.title`) }}</h2>
<div v-html="translation.t(`${feature}.introduction`)"></div>
</b-col>
</b-row>
Expand All @@ -23,5 +23,7 @@ name: "FeatureRow",
</script>

<style scoped>
h2 {
font-size: 1.5em;
}
</style>

0 comments on commit 7424164

Please sign in to comment.