Skip to content

Commit

Permalink
fix: accessibility improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
tedbennett committed Apr 26, 2023
1 parent 49dd162 commit aa44180
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/components/Card.astro
Expand Up @@ -9,7 +9,11 @@ const { title, features, description, href } = Astro.props;
<div class="p-3">
<div class="flex justify-between items-center">
<div class="flex flex-row items-center gap-3 h-full grow">
<img src={`/${title}.png`} class="rounded-xl aspect-square h-24" />
<img
src={`/${title}.png`}
class="rounded-xl aspect-square h-24"
alt={title}
/>
<div class="flex flex-col grow">
<div class="flex flex-row justify-between items-center">
<span class="uppercase font-semibold text-xl">{title}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navbar.astro
Expand Up @@ -42,7 +42,7 @@
</button>
</div>
<div
class="w-full z-50 hidden flex-col p-5 gap-3 sm:hidden bg-white dark:bg-black"
class="w-full z-50 hidden flex-col p-5 gap-3 sm:hidden bg-white dark:bg-black border-b-[1px] border-zinc-500 dark:border-zinc-300"
id="burger-menu"
>
<a href="/projects" aria-label="Projects"><span>projects</span></a>
Expand Down

0 comments on commit aa44180

Please sign in to comment.