solex2006 / SELIProject

SELI Project
9 stars 17 forks source link

Autofill on input fields collecting information about the user #88

Open ecureuill opened 4 years ago

ecureuill commented 4 years ago

This is a "not-end" requirement. What I want to mean is that this should be considered for any new page you create that Student can access. Also should correct the old pages.

I will use the label Feature Design Notes to this cases


WCAG: 1.3.5

There are two ways this attribute is used. When wearing the autofill expectation mantle, the autocomplete attribute describes what input is expected from users. When wearing the autofill anchor mantle, the autocomplete attribute describes the meaning of the given value. See full specification and list here

Tests Procedure

For each form field that collects information about the user and corresponds to an autocomplete field described in List of commons input purpose, check the following:

  1. The form field has a valid and well-formed autocomplete attribute and value pair.
  2. The purpose of the form field indicated by the label corresponds with the autocomplete token on the input. Expected Results: If 1 and 2 are true, then the test passes and the technique has been successfully implemented

Example

This is a simple form that collects contact and credit card information from the user.

<form method="post" action="step2">
 <div>
   <label for="fname">First Name</label>
  <input id="fname" type="text" autocomplete="given-name" ... >
  </div>
  <div>
    <label for="lname">Last Name Name</label>
  <input id="lname" type="text" autocomplete="family-name" ... >
    <label for="cc-num">Credit card number:</label>
    <input type="text" id="cc-num" autocomplete="cc-number">
  </div>
  <div>
    <label for="exp-date">Expiry Date:</label>
    <input type="month" id="exp-date" autocomplete="cc-exp">
  </div>
  <div>
    <input type="submit" value="Continue...">
  </div>
</form>

List of commons input purpose

The following input control purposes are intended to relate to the user of the content and pertain only to information related to that individual.

Security considerations

Organizations can be concerned about allowing input fields to be automatically filled-in. There is sometimes confusion about how browsers save information and the security implications.

For the autocomplete attribute:

The browser history provides far more detail about what people have done, and is just as available as autocomplete data. The solutions/mitigations for browser-history are similar to autocomplete.

github-actions[bot] commented 4 years ago

This Feature is ready to be implemented.

github-actions[bot] commented 4 years ago

This issue is easy for contributing. Everyone can work on this.

github-actions[bot] commented 4 years ago

This Feature is ready to be implemented.