Skip to content

Commit

Permalink
chore: Added alt text to all images throughot web app
Browse files Browse the repository at this point in the history
  • Loading branch information
25Ericcheong committed May 5, 2024
1 parent d877700 commit 9527532
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/about-us.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { getImageUrl } from "../util/Image";
<img
class="w-full h-full lg:w-1/2"
:src="getImageUrl('bingsu-about-us', 'about-us')"
alt="Owner carrying a tray containing a typical bingsu set at Binq"
/>
<div
class="flex flex-col justify-center items-center pt-10 lg:pt-0 pl-0 lg:pl-32 text-darkorangebq"
Expand Down
1 change: 1 addition & 0 deletions src/components/footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const CURRENT_YEAR = new Date().getFullYear();
<img
class="w-[60%] h-full lg:h-1/4 xxl:h-1/2"
src="../assets/logo/binq.png"
alt="Binq logo representing our store and brand"
/>
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/components/header/main-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function openNewTab(url: string) {
<img
class="h-full w-full drop-shadow-2xl"
src="../../assets/images/header/cheesey-bingsu.jpg"
alt="Binq homemade cheese oozing over bing su located at the centre of header for attention"
/>
</div>
</div>
Expand Down Expand Up @@ -80,6 +81,7 @@ function openNewTab(url: string) {
<img
class="block lg:hidden xl:block h-full w-full sm:w-1/12 xl:w-1/5 mt-5 sm:mt-0"
src="../../assets/images/header/bingsu-in-store.jpg"
alt="Signage of Binq's store front that reads 'binq binq binq'"
/>
</div>
<div class="flex w-full xl:w-3/4 justify-center items-center">
Expand All @@ -100,6 +102,7 @@ function openNewTab(url: string) {
<img
class="lg:hidden xl:block w-full h-full sm:w-1/12 xl:w-1/5 mt-5 sm:mt-0"
src="../../assets/images/header/bingsu.jpg"
alt="An innovate bingsu created at home at Binq"
/>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/components/header/wrapper-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ import MainHeader from "./main-header.vue";
<div
class="flex justify-center h-[64px] w-[80px] bg-creamwhitebq absolute top-0 right-0 m-5 rounded-full"
>
<img class="p-5 h-full w-full" src="../../assets/logo/binq.png" />
<img
class="p-5 h-full w-full"
src="../../assets/logo/binq.png"
alt="Binq logo that signifies a bingsu dessert"
/>
</div>
</header>
</template>
1 change: 1 addition & 0 deletions src/components/our-mentions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ onMounted(() => {
<img
class="h-fit w-full lg:w-3/4 p-0 lg:pl-40"
:src="getImageUrl('bingsu-our-mentions', 'our-mentions')"
alt="A blurred background containing the owners of Binq and a tray of Bingsu on the main counter in the store"
/>
</section>
<section
Expand Down
7 changes: 7 additions & 0 deletions src/components/product.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,23 @@ import { getImageUrl } from "../util/Image";
:src="
getImageUrl('more-prep-bing-product-intro', 'products', 'intro')
"
alt="Shaving machine used to create our special bing su at Binq"
/>
<img
class="my-20 w-full md:w-4/5 h-1/4 xxl:my-40 self-center"
:src="getImageUrl('topping-product-intro', 'products', 'intro')"
alt="Our famous side dishes used to complement our perfect bingsu"
/>
<img
class="w-full md:w-4/5 h-1/4 self-center"
:src="getImageUrl('binq-store-product-intro', 'products', 'intro')"
alt="Store front of our main branch in Damansara that reads binq binq binq"
/>
</div>
<img
:src="getImageUrl('bingsus-product-intro', 'products', 'intro')"
class="h-1/3 rounded-full mb-32 lg:sticky lg:top-0"
alt="Consists of a variety of bingsu desserts which we have readily available"
/>
</div>
</section>
Expand All @@ -67,15 +71,18 @@ import { getImageUrl } from "../util/Image";
<img
class="w-full h-3/4 pt-12 self-center"
:src="getImageUrl('watermelon-topping-product', 'products', 'detail')"
alt="Watermelon topping side dish which we have available at the store"
/>
<img
class="w-full h-3/4 pt-16 self-center"
:src="getImageUrl('topping-product', 'products', 'detail')"
alt="Coated mochi topping side dish which we have available at the store"
/>
</div>
<img
class="w-full h-3/4 lg:w-1/2 rounded-full pt-20 lg:pt-0"
:src="getImageUrl('bingsu-set-product', 'products', 'detail')"
alt="Our best selling bingsu set at binq. Has 4 toppings and our best selling bingsu; Soybean flavoured bingsu"
/>
</section>
</div>
Expand Down

0 comments on commit 9527532

Please sign in to comment.