Skip to content

Commit

Permalink
refactor: Update GitHub Repository link in Header component
Browse files Browse the repository at this point in the history
The commit updates the GitHub Repository link in the Header component by adding an `aria-label` attribute with the value "GitHub Repository". This improves the accessibility of the link by providing a descriptive label for screen readers.

Refactoring the link improves the maintainability and readability of the codebase.
  • Loading branch information
teles committed Jul 16, 2024
1 parent 5cb4393 commit 3bdcb13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import Logo from "../assets/holysheets-logo.svg";
href="https://github.com/holy-sheets/holysheets"
target="_blank"
class="flex text-xl"
aria-label="GitHub Repository"
>
<Icons icon="github" />
</a>
Expand Down

0 comments on commit 3bdcb13

Please sign in to comment.