From 8647197a05490e2c10106a021cf6760bdabb5b2a Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 11 Feb 2022 17:56:27 +0100
Subject: chore: improve accessibility

---
 src/components/PostsList/PostsList.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/components/PostsList/PostsList.tsx')

diff --git a/src/components/PostsList/PostsList.tsx b/src/components/PostsList/PostsList.tsx
index 16deee3..b57630e 100644
--- a/src/components/PostsList/PostsList.tsx
+++ b/src/components/PostsList/PostsList.tsx
@@ -50,7 +50,11 @@ const PostsList = (
                   <li className={styles.item}>
                     <PostPreview post={post} titleLevel={titleLevel} />
                   </li>
-                  {isLastPost && <span ref={ref} tabIndex={-1} />}
+                  {isLastPost && (
+                    <li className={styles.item}>
+                      <span ref={ref} tabIndex={-1} />
+                    </li>
+                  )}
                 </Fragment>
               );
             })}
-- 
cgit v1.2.3

