arya2004/cmt-autofill

Improve Form Accessibility (a11y)

オープン

#15 opened on 2025/10/02

 (1 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (11 件のフォーク)auto 404
good first issuehacktoberfesthacktoberfest-acceptedhtmljavascript

Repository metrics

Stars
 (6 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Add <label> elements and improve form markup for screen readers.

File to modify: popup.html

How to do it: Wrap each input in a <label> with descriptive text.

<template id="authorFormTemplate">
  <div class="author-form">
    <label>Email: <input type="email" class="author-email" placeholder="Email"></label>
    <label>First Name: <input type="text" class="author-first-name" placeholder="First Name"></label>
    <label>Last Name: <input type="text" class="author-last-name" placeholder="Last Name"></label>
    <label>Organization: <input type="text" class="author-organization" placeholder="Organization"></label>
    <label>Country: 
      <select class="author-country"></select>
    </label>
    <button type="button" class="remove-author-btn">Remove</button>
  </div>
</template>

コントリビューターガイド