~rensoliemans/website

006e3f4456c1257c866125f2f7c6398470824aad — Rens Oliemans 1 year, 1 month ago 233c8e5
Add title attribute to img

Previously it was in the alt-tag, but that isn't the purpose of alt.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes
2 files changed, 2 insertions(+), 2 deletions(-)

M src/index-en.html
M src/index.html
M src/index-en.html => src/index-en.html +1 -1
@@ 9,7 9,7 @@
  <main>
    <section id="intro">
      <div class="info">
        <img class="head" src="assets/me.webp" alt="My head as a semirandom collection of circles, ellipses and quadratic bézier curves">
        <img class="head" src="assets/me.webp" alt="Photo of my head" title="My head as a semirandom collection of circles, ellipses and quadratic bézier curves">
        <div class="languages">
          <a href="/nl">nl</a>
          <a href="/en">en</a>

M src/index.html => src/index.html +1 -1
@@ 9,7 9,7 @@
  <main>
    <section id="intro">
      <div class="info">
        <img class="head" src="assets/me.webp" alt="Mijn hoofd als een semi-willekeurige verzameling cirkels, ellipsen en bézierkrommes">
        <img class="head" src="assets/me.webp" alt="Foto van mijn hoofd" title="Mijn hoofd als een semi-willekeurige verzameling cirkels, ellipsen en bézierkrommes">
        <div class="languages">
          <a href="/nl">nl</a>
          <a href="/en">en</a>