diff options
author | 2021-06-16 17:19:23 -0400 | |
---|---|---|
committer | 2021-06-16 17:19:23 -0400 | |
commit | e711668556ab5230af7af611c941f59014d27a1b (patch) | |
tree | af0e42ce8fd4bfd4d838645ba5c199d3a5c1fda3 /examples/blog/src/layouts/post.astro | |
parent | 5c01526731ada6bc41b334d1630bf472e2690126 (diff) | |
download | astro-e711668556ab5230af7af611c941f59014d27a1b.tar.gz astro-e711668556ab5230af7af611c941f59014d27a1b.tar.zst astro-e711668556ab5230af7af611c941f59014d27a1b.zip |
Improvement/accessibility blog example (#475)
* improvements: updated heading tag order, removed repeat alt values, added aria-labels
* chore: added changeset
Diffstat (limited to 'examples/blog/src/layouts/post.astro')
-rw-r--r-- | examples/blog/src/layouts/post.astro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/blog/src/layouts/post.astro b/examples/blog/src/layouts/post.astro index 5149528a0..3379bd2dc 100644 --- a/examples/blog/src/layouts/post.astro +++ b/examples/blog/src/layouts/post.astro @@ -62,9 +62,9 @@ import authorData from '../data/authors.json'; <Nav /> <main class="wrapper"> - <h1 class="title">{content.title}</h1> - <h3 class="description">{content.description}</h3> - <img class="img" src={content.image} alt={content.title}> + <h2 class="title">{content.title}</h2> + <p class="description">{content.description}</p> + <img class="img" src={content.image} alt=""> <article class="article"> <slot /> </article> |