arya2004/cmt-autofill

Improve Form Accessibility (a11y)

開放

#15 建立於 2025年10月2日

 (1 則留言) (0 個反應) (1 位負責人)JavaScript (11 個分叉)auto 404
good first issuehacktoberfesthacktoberfest-acceptedhtmljavascript

倉庫指標

星標
 (6 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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>

貢獻者指南