Skip to content

Commit

Permalink
a11y improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnaceMaes committed Aug 18, 2024
1 parent f162a0c commit 75732db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/pokemon-grid-item.gts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class PokemonGridItem extends Component<PokemonSignature> {
class='block aspect-square w-full p-4 transition-transform group-hover:scale-125 group-hover:drop-shadow-xl'
loading='lazy'
src={{@pokemon.image.thumbnail}}
alt={{@pokemon.name.english}}
alt="{{@pokemon.name.english}} thumbnail"
/>
<h3 class='mt-4 text-lg font-medium'>{{@pokemon.name.english}}</h3>
</button>
Expand Down
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>EmberEmbroiderPokedex</title>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/application.gts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class ApplicationTemplate extends Component {
{{pageTitle 'Ember Polaris Pokedex'}}

<main class='container m-auto min-h-screen px-4 py-8'>
<div class='mb-6 flex justify-between text-5xl font-extrabold gap-4'>
<div class='mb-6 flex justify-between text-2xl lg:text-5xl font-extrabold gap-4'>
<h2>
<LinkTo
@route='index'
Expand Down

0 comments on commit 75732db

Please sign in to comment.