Skip to content

Commit

Permalink
More A11y work
Browse files Browse the repository at this point in the history
  • Loading branch information
okbel committed Nov 5, 2020
1 parent 1beafd3 commit dbc0091
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 5 additions & 1 deletion components/common/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ const Footer: FC<Props> = ({ className, pages }) => {
</div>
<div className="col-span-1 lg:col-span-6 flex items-start lg:justify-end text-primary">
<div className="flex space-x-6 items-center h-10">
<a href="https://github.com/vercel/commerce" className={s.link}>
<a
aria-label="Github Repository"
href="https://github.com/vercel/commerce"
className={s.link}
>
<Github />
</a>
<I18nWidget />
Expand Down
3 changes: 1 addition & 2 deletions components/common/Searchbar/Searchbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ const Searchbar: FC<Props> = ({ className, id = 'search' }) => {
className
)}
>
<label htmlFor={id}>
<label>
<input
id={id}
className={s.input}
placeholder="Search for products..."
defaultValue={router.query.q}
Expand Down
2 changes: 1 addition & 1 deletion components/common/UserNav/UserNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const UserNav: FC<Props> = ({ className, children, ...props }) => {
</li>
<li className={s.item}>
<Link href="/wishlist">
<a onClick={closeSidebarIfPresent}>
<a onClick={closeSidebarIfPresent} aria-label="Wishlist">
<Heart />
</a>
</Link>
Expand Down

0 comments on commit dbc0091

Please sign in to comment.