Skip to content

Commit

Permalink
fix a11y issues
Browse files Browse the repository at this point in the history
  • Loading branch information
EndangeredMassa committed Jan 15, 2024
1 parent 40a7b13 commit bc5a4c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/components/icon-button.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<a ...attributes class="icon-button" href={{@href}}>
<a ...attributes class="icon-button" href={{@href}} title={{@title}}>
{{svg-jar (concat 'icon-' @icon) width='22px'}}
</a>
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>EmberBlog</title>
Expand Down
7 changes: 4 additions & 3 deletions app/templates/application.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class MyRouteComponent extends Component {
<LinkTo @route="index">Home</LinkTo>
<LinkTo @route="blog">Blog</LinkTo>
<LinkTo @route="talks">Talks</LinkTo>
<LinkTo @route="projects">Projects</LinkTo>
{{!-- TODO: Add this section later --}}
{{!-- <LinkTo @route="projects">Projects</LinkTo> --}}
<span class="separator">|</span>
<a target="_blank" href="https://social.massalabs.com/@sean">Microblog</a>
</nav>
Expand All @@ -27,8 +28,8 @@ class MyRouteComponent extends Component {

<footer>
<div class="socials">
<IconButton @icon="github" @href="https://github.com/EndangeredMassa" />
<IconButton @icon="mastodon" @href="https://social.massalabs.com/@sean" />
<IconButton @icon="github" @href="https://github.com/EndangeredMassa" @title="link to github.com for EndangeredMassa" />
<IconButton @icon="mastodon" @href="https://social.massalabs.com/@sean" @title="link to social.massalabs.com (mastodon instance) for @sean" />
</div>
<p>
Thanks to <a href="https://kevquirk.com">Kev Quirk</a>
Expand Down

0 comments on commit bc5a4c7

Please sign in to comment.