Skip to content

Commit

Permalink
Change aria label to hiding non-useful text for SRs
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdavenport committed Aug 11, 2023
1 parent d7ac7ff commit 5cb5158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Pages/Blog/Content/BlogItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ type BlogItemProps = {

export function BlogItem({ className, post: { data: post, slug } }: BlogItemProps) {
return (
<a href={`/posts/${slug}`} className={cn(['flex flex-col border-l border-black max-sm:bg-gray-200 no-underline font-normal', className])} aria-label={`Read article: ${post.title}`}>
<header className="flex flex-col p-2 pl-3 mdpl-4 border-b border-black md:flex-row">
<a href={`/posts/${slug}`} className={cn(['flex flex-col border-l border-black max-sm:bg-gray-200 no-underline font-normal', className])}>
<header className="flex flex-col p-2 pl-3 mdpl-4 border-b border-black md:flex-row" aria-hidden="true">
<time
className="font-mono max-md:text-lg"
dateTime={`${post.year}-${post.month}-${post.day}`}>
Expand Down

0 comments on commit 5cb5158

Please sign in to comment.