W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2014

Re: Required Form Fields Question

From: Bryan Garaventa <bryan.garaventa@whatsock.com>
Date: Thu, 6 Mar 2014 09:36:33 -0800
Message-ID: <3A36865F818B4F34AAE92A375A4E502E@WAMPAS>
To: "Christophe Strobbe" <strobbe@hdm-stuttgart.de>, <w3c-wai-ig@w3.org>
The aria-required attribute works in IE8 through 11, FF, Chrome, and Safari.

  ----- Original Message ----- 
  From: Christophe Strobbe 
  To: w3c-wai-ig@w3.org 
  Sent: Thursday, March 06, 2014 9:30 AM
  Subject: Re: Required Form Fields Question

  Hi Geri,

  On 6/03/2014 18:22, Druckman,Geri wrote:

    Easiest way to make sure  screen reader users know a certain field is required, in my opinion, is to add aria-required="true" to the input tag.

  According to <http://www.html5accessibility.com/> HTML5's required attribute was already supported by Firefox 15 and Chrome 21 but not accessibility-supported by Internet Explorer 10. 
  Is aria-required better supported by assistive technologies? 

  Best regards,


    For example for a first name text field:
    <input id="first-name" type="text" maxlength="50" value="" name="rel_first" aria-required="true" ></input>

    I also recommended, here at MD Anderson, since most of our forms can get pretty lengthly, to add at the beginning of the form "All fields are required except those marked as optional.", and then only mark the optional fields with the word "Optional".  Makes it clearer and cleaner.

    Geri Druckman
    Web Development Specialist - Accessibility
    Department of Internet Services
    MD Anderson Cancer Center
    T 713-792-6293 | F 713-745-8134

    From: <Homme>, James <james.homme@highmark.com>
    Date: Thursday, March 6, 2014 10:55 AM
    To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
    Subject: Required Form Fields Question
    Resent-From: <w3c-wai-ig@w3.org>
    Resent-Date: Thursday, March 6, 2014 10:56 AM


    If a required field symbol is on screen, immediately to the left of a form field, but outside the label tag, so that a screen reader user has to exit Form mode to see it, does that violate that a required field must be programmibly determined? 



Christophe Strobbe
Akademischer Mitarbeiter
Adaptive User Interfaces Research Group
Hochschule der Medien
Nobelstraße 10
70569 Stuttgart
Tel. +49 711 8923 2749
Received on Thursday, 6 March 2014 17:38:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:50 UTC