Skip to content

Commit 7d61c17

Browse files
committed
Minor accessibility changes
1 parent 1a9110f commit 7d61c17

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/pages/Project.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
margin-bottom: 0;
1414
}
1515

16-
.project-header h3 {
16+
.project-header h2 {
1717
margin-top: 0;
18+
font-size: larger;
1819
}
1920

2021
.project-content {

src/pages/Project.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default function Project() {
5656
className="link"
5757
onClick={() => navigate(isMini ? "/mini-projects" : "/projects")}
5858
>
59-
<h3>{isMini ? "Mini" : "All"} Projects</h3>
59+
<h2>{isMini ? "Mini" : "All"} Projects</h2>
6060
</button>
6161
</div>
6262
<div className="project-content">

src/pages/Projects.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
margin-top: 1.5rem;
1212
margin-bottom: 0;
1313
}
14-
.projects-header h3 {
14+
.projects-header h2 {
1515
margin-top: 0;
16+
font-size: larger;
1617
}
1718
.projects-content {
1819
display: flex;

src/pages/Projects.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default function Projects() {
9595
<div className="projects-header">
9696
<h1>{isMini ? "Mini" : "My"} Projects</h1>
9797
<button className="link" onClick={() => navigate("/")}>
98-
<h3>Back to home</h3>
98+
<h2>Back to home</h2>
9999
</button>
100100
</div>
101101
<div className="projects-content">

0 commit comments

Comments
 (0)