<section>
  <h2 id="newsletter-heading">Inscrivez-vous à notre newsletter par email</h2>
<div class="form-container">
   <div class="email-container">
    <label for="abo-newsletterSubscriber" class="sr-only">Votre adresse email (exemple : prenom.nom@mail.fr)</label>
    <input id="abo-newsletterSubscriber" type="email" name="email" autocomplete="email" aria-labelledby="newsletter-heading">
  </div>
</div>
</section>
section { 
  width: 30rem;
  height: auto;
  padding: 1.5%;
  box-sizing: border-box;
}

h2 {
  margin: 0;
}

.email-container {
  position: relative;
  }

label,
input {
  display: block;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
	white-space: nowrap;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.