IT Accessibility Committee Accessible Forms Prepared by the NYS Forum IT Accessibility Committee

Slides:



Advertisements
Similar presentations
HTML Forms. collect information for passing to server- side processes built up from standard widgets –text-input, radio buttons, check boxes, option lists,
Advertisements

Technologies for web publishing Ing. Václav Freylich Lecture 4.
Supplement Creating Forms. Objectives Show how forms are used How to create the Form element HTML elements used for creating input fields.
HTML and XHTML Controlling the Display Of Web Content.
Creating Web Page Forms. Objectives Describe how Web forms can interact with a server-based program Insert a form into a Web page Create and format a.
Tutorial 6 Working with Web Forms
XP Tutorial 6: Creating Web Page Forms. XP An Example of a Form.
USER INTERACTIONS: FORMS
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
ECA 228 Internet/Intranet Design I Forms. ECA 228 Internet/Intranet Design I Forms forms are a way for a user to communicate with you – text fields –
  Just another way to collect pieces together (like div, section)  Anything can be in there  Formatting just like all other elements.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
Neal Stublen Improvements  New form elements  Assist with validation  Consistency across sites  Changes reduce the need for common.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
Forms Sangeetha Parthasarathy 02/05/2001. Introduction to Forms A form makes it possible to transform your web pages from text to graphics to interactive.
Week 10.  Form controls  Parent containing element for other form control elements  Requires method and action attributes to process the information.
Robinson_CIS_285_2005 HTML FORMS CIS 285 Winter_2005 Instructor: Mary Robinson.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
ADDITIONAL GUIDELINES. Source: Wroblewski, L (2008) Provide Clear path to completion.
© 2010 Delmar, Cengage Learning Chapter 8 Collecting Data with Forms.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
2.2 XHTML (cont.). Motto Yea, from the table of my memory I’ll wipe away all trivial fond records. —William Shakespeare.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Forms James Wang.
HTML Forms.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit G Using Forms to Control Input.
76 © 1998, 1999, 2000 David T. Gray, Howard Duncan, Jane Kernan Frames When displaying information in a browser, it is sometimes useful to divide the display.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Creating Web Page Forms. Introducing Web Forms Web forms collect information from users Web forms include different control elements including: –Input.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Forms a form is a container for input elements on a web page input elements contain data that is sent to the web server for processing.
Forms Collecting Data CSS Class 5. Forms Create a form Add text box Add labels Add check boxes and radio buttons Build a drop-down list Group drop-down.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
+ FORMS HTML forms are used to pass data to a server. begins and ends a form Forms are made up of input elements Every input element has a name and value.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Website Forms / Data Acquisition.
Starting BBEdit or Notepad and Opening the HTML File Start BBEdit or Notepad Select Open from the File Menu Open survey1.htm from the Public Folder.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Project 6 Creating Forms on a Web Page. Objectives Define terms related to forms Describe the different form controls and their uses Use the tag Create.
HTML Creating Forms on a Web Page. 2 Objectives  Discuss the process of creating a form  Distinguish between data input controls and text input controls.
HTML Forms.
Chapter 9 Quick Links Slide 2 Performance Objectives Understanding Forms Planning Forms Creating Forms Creating Text Fields Creating Hidden Fields Creating.
Creating Accessible Web Forms Sandy Clark Constella Group
FORMS How to collect information f XX rom visitors Different kinds of form controls New HTML5 form controls.
Creating Forms on a Web Page. 2 Introduction  Forms allow Web developers to collect visitor feedback  Forms create an environment that invites people.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 6: Creating XHTML Forms Kelly.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
TNPW1 Ing. Jiří Štěpánek.  ordered list  (list item)  unordered list  (list item)
Ashima Wadhwa Java Script And Forms. Introduction Forms: –One of the most common Web page elements used with JavaScript –Typical forms you may encounter.
XP Tutorial 6New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
Tutorial 6 Working with Web Forms
How to Write Web Forms By Mimi Opkins.
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
ARUSHA TECHNICAL COLLEGE WEB DESIGN(html forms)
Creating Form Elements
Creating Form Elements
Web Development & Design Foundations with H T M L 5
Creating Forms on a Web Page
The Internet 10/27/11 XHTML Forms
Introduction to HTML: Forms
Chapter 6: Creating Web Page Forms. An Example of a Form.
Presentation transcript:

IT Accessibility Committee Accessible Forms Prepared by the NYS Forum IT Accessibility Committee Presented by Michael B. Short

Accessible Forms OBJECTIVE: the learner will list four potential problems with forms and a remedy for each

Forms on the Internet On what sites have you seen forms? On what sites have you seen forms? What were they used for? What were they used for? How were the forms laid out? How were the forms laid out?

Forms on the Internet: How are they used? Registration Registration Login Login Order Forms Order Forms Shopping Carts Shopping Carts Surveys Surveys Feedback Feedback

Forms on the Internet: What are the problems? Improper layout – e.g., label above control, no label, improperly coded label Improper layout – e.g., label above control, no label, improperly coded label Inadequate navigation – e.g., unspecified or non-sequential tab order Inadequate navigation – e.g., unspecified or non-sequential tab order Lack of orientation – e.g., what is the context for the question? Lack of orientation – e.g., what is the context for the question? Lack of direction – e.g., “surprise pop-ups” with no indication of new window Lack of direction – e.g., “surprise pop-ups” with no indication of new window

Form Basics: Forms collect information Forms collect information Forms process information Forms process information Forms provide opportunity for interaction Forms provide opportunity for interaction

Form Basics: HTML Review form element – marks beginning/end of form within regular HTML document form element – marks beginning/end of form within regular HTML document HTML elements within form that users interact with (a.k.a. “form controls”) HTML elements within form that users interact with (a.k.a. “form controls”) Element Name attribute – unique in form Element Name attribute – unique in form Element attribute values – initial & current Element attribute values – initial & current Element Type attribute – set by author, governs how control is used Element Type attribute – set by author, governs how control is used Element Tabindex attribute – provides navigational direction Element Tabindex attribute – provides navigational direction

Form Basics: HTML Review Common form elements & attributes: Common form elements & attributes: form – action, method, enctype, etc. form – action, method, enctype, etc. input – text, password, checkbox, radio, submit, reset, file, hidden, image, button input – text, password, checkbox, radio, submit, reset, file, hidden, image, button select – option, optgroup, selected select – option, optgroup, selected textarea – rows, columns textarea – rows, columns label – for input elements label – for input elements Attributes for all form elements – name, id, class, tabindex, etc. Attributes for all form elements – name, id, class, tabindex, etc.

Accessibility Problems with Forms Specifying required fields – “The items in RED are required.” Specifying required fields – “The items in RED are required.” Who will have trouble? Who will have trouble? People who are blind People who are blind People who are color blind People who are color blind People with some vision impairments People with some vision impairments

Accessibility Problems with Forms BETTER IDEA: “The items marked in red with asterisks are required.” “The items marked in red with asterisks are required.” Provides two cues (color and *) for sighted visitors and a clear indicator for individuals with vision impairments. Provides two cues (color and *) for sighted visitors and a clear indicator for individuals with vision impairments.

Accessibility Problems with Forms: Improper Form Layout Screen reader will render this as: Screen reader will render this as: “Name, address, city, state, zip, “Name, address, city, state, zip, input, input, input, input, input” input, input, input, input, input”

Accessibility Problems with Forms: Lack of Context Not providing a clear association between a label and an element Not providing a clear association between a label and an element

Accessibility Problems with Forms Not providing clear navigation path for non-visual users Not providing clear navigation path for non-visual users

Good Form Programming Practices Use tabindex attribute for form controls Use tabindex attribute for form controls ( a, button, input, select, textarea )

Good Form Programming Practices Use explicit label s Use explicit label s Paired Element (open/close) Paired Element (open/close) Works with value of id attribute in associated form element Works with value of id attribute in associated form element First Name: First Name:

Good Form Programming Practices If possible, use pull-down menus instead of checkboxes or radio buttons If possible, use pull-down menus instead of checkboxes or radio buttons

Good Form Programming Practices Use fieldset/legend to provide richer context for users with longer, more complicated forms Use fieldset/legend to provide richer context for users with longer, more complicated forms