Skip to content

Commit 45b91b8

Browse files
author
David Leger
committed
fix: a11y issues
1 parent f4cce3b commit 45b91b8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/components/Chip/Chip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { styled } from '@linaria/react';
22

3-
const Chip = styled.div`
3+
const Chip = styled.li`
44
display: inline-block;
55
font-size: 0.8rem;
66
font-weight: 600;

src/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:root {
22
/* Theme */
33
--color-text: rgba(255, 255, 255, 0.87);
4-
--color-background: #17244c;
4+
--color-background: #0e1731;
55
--color-primary: deeppink;
66

77
font-family: 'IBM Plex Mono', monospace;

src/sections/Work/Work.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ const WorkSection = () => {
5050
))}
5151
{showAll &&
5252
otherWork.map((item) => <WorkItem key={item.slug} {...item} />)}
53-
<div>
53+
<li>
5454
<Button
5555
onClick={() => {
5656
setShowAll(!showAll);
5757
}}
5858
>
5959
{showAll ? '- collapse' : '+ show all'}
6060
</Button>
61-
</div>
61+
</li>
6262
</StyledList>
6363
</Section>
6464
);

0 commit comments

Comments
 (0)