Skip to content

Commit

Permalink
Accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mitjapotocin committed Oct 25, 2023
1 parent 29368ce commit 93a6e1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/Home/HomeBlogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default function HomeBlogs({ blogs }: { blogs: BlogMetadata[] }) {
</h2>
<BodyText>{lastBlog.shortExcerpt}</BodyText>
<Link href={`blog/${lastBlog.url}`}>
<Image {...lastBlog.thumbImage} alt="" />
<Image {...lastBlog.thumbImage} alt={lastBlog.title} />
</Link>
</ExposedHomeBlog>

Expand All @@ -234,7 +234,7 @@ export default function HomeBlogs({ blogs }: { blogs: BlogMetadata[] }) {
</ListContentWrapper>
<ListImageWrapper>
<Link href={`blog/${url}`}>
<Image {...thumbImage} alt="" />
<Image {...thumbImage} alt={title} />
</Link>
</ListImageWrapper>
</ListItem>
Expand Down
1 change: 1 addition & 0 deletions components/Home/UsersSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export default function UsersSection({
onClick={() => {
instanceRef.current?.moveToIdx(idx);
}}
aria-label={`Slide ${idx}`}
className={
"dot" + (currentSlide === idx ? " active" : "")
}
Expand Down
2 changes: 1 addition & 1 deletion pages/_document.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class MyDocument extends Document {

render() {
return (
<Html>
<Html lang="en">
<Head></Head>
<body>
<Main />
Expand Down

1 comment on commit 93a6e1f

@vercel
Copy link

@vercel vercel bot commented on 93a6e1f Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

orange-web2 – ./

orange-web2-git-main-biolab.vercel.app
orange-web2-biolab.vercel.app
orange-web2.vercel.app

Please sign in to comment.