Week 8.  Form controls  Accessibility with ARIA.

Slides:



Advertisements
Similar presentations
Creating dynamic and accessible content in Drupal 7 using WAI-ARIA Sarah Pulis Web Accessibility Evangelist DruaplCon | Content Authoring |
Advertisements

Tutorial 6 Creating a Web Form
1 Introduction to HTML II อุทัย เซี่ยงเจ็น สำนักวิชาเทคโนโลยีสารสนเทศ และการสื่อสาร มหาวิทยาลัยนเรศวร พะเยา.
SE-2840 Dr. Mark L. Hornick 1 HTML input elements and forms.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
HTML and XHTML Controlling the Display Of Web Content.
COS 125 DAY 23. Agenda Assignment 6 Corrected  5 A’s, 1 B, 1 C and 1 D  Problems with using CSS for layouts Assignment 7 is due today Assignment 7 Assignment.
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
Computing Concepts Advanced HTML: Tables and 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.
  Just another way to collect pieces together (like div, section)  Anything can be in there  Formatting just like all other elements.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Scripted, Tab Accessible Tree Control Hierarchical view of data via tree control. Keyboard Navigation from initially closed tree to view above with focus.
Chapter 9 Working with Forms. Principles of Web Design 2nd Ed. Chapter 9 2 Principles of Web Design Chapter 9 Objectives Understand how forms work Understand.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
Brief Overview of Web Forms L. G. Piper Bunker Hill Community College 23 March 2011.
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.
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
Lesson 13: Building Web Forms Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Alternative Views of the Web Jon Gunderson, Ph.D. Division of Rehabilitation-Education Services University of Illinois at Urbana/Champaign.
Real World Accessibility Becky Gibson Dojo Accessibility Lead IBM Web Accessibility Architect.
1 Forms A form is the usual way that information is gotten from a browser to a server –HTML has tags to create a collection of objects that implement this.
Development of Accessible E-documents and Programs for the Visually Impaired WAI-ARIA (V2011)
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.
Week 10.  Form controls  Parent containing element for other form control elements  Requires method and action attributes to process the information.
Accessible DOM scripting with ARIA Léonie Watson
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Functional Accessibility Evaluation of Web 2.0 Applications Testing Jon Gunderson, Ph.D University of Illinois.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
HTML Forms.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
PHP Form Introduction Getting User Information Text Input.
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.
Week 12 Working with Forms Objectives Understand how forms work Understand form syntax Create input objects Build forms within tables Build and.
HTML Forms A Preliminary Step into Dynamic Web Fred Durao
Creating Web Page Forms. Introducing Web Forms Web forms collect information from users Web forms include different control elements including: –Input.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
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.
Aria Roles Informing assistive technology. What are Aria Roles A way of conveying the role or state of content or functionality. Accessible Rich Internet.
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.
Web Technologies Lecture 3 Web forms. HTML5 forms A component of a webpage that has form controls – Text fields – Buttons – Checkboxes – Range controls.
1 CSC160 Chapter 7: Events and Event Handlers. 2 Outline Event and event handlers onClick event handler onMouseOver event handler onMouseOut event handler.
+ 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.
WEB FORM DESIGN. Creating forms for a web page For your web project you have to design a form for inclusion on your web site (the form information should.
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 COE 201- Computer Proficiency.
COS 125 DAY 17. Agenda  Assignment 7 not finished grading  Assignment 8 posted Due April 9  Capstone progress reports due  Quiz 2 Corrected 2 A’s,
Creating Accessible Web Forms Sandy Clark Constella Group
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
USABLEANDACCESSIBLEFORMS. accessibility or Accessibility?
1 HTML forms (cont.)
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Tutorial 6 Creating a Web Form
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
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.
Creating and Processing Web Forms
Objectives Design a form Create a form Create text fields
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
Forms, cont’d.
The Internet 10/27/11 XHTML Forms
HTML5 - 2 Forms, Frames, Graphics.
Presentation transcript:

Week 8

 Form controls  Accessibility with ARIA

 Parent containing element for other form control elements  Requires method and action attributes to process the information collected by the form  Actions are usually scripts processed by the web server; can also be used to create an electronic mail message

 Multiple ways to collect data element  type attribute for element determines both its behaviour and presentation

 type determines type of element  text  password  checkbox  radio  file  submit  reset  button

 Use when checkboxes and radio buttons become too inefficient  Choices defined by the element The label attribute can be used to present a shortened version of an option when appearing in an optgroup  Can be grouped using the element The label attribute can be used to identify the options of an option group  Multiple selections allowed by setting multiple attribute to value of “multiple”

 Function identical to the element but allows for multiple lines of text to be entered

 Data collected from form controls are associated to a value specified by the name attribute of the form control element that collected the information  The name value is like a variable that contains the form input value

 Label element  ARIA

 Used for marking up a form control’s descriptive text  Has no presentation value unless styled with CSS  Provides two features: Usability  Improvement for mouse users – clickable area Accessibility  Make a form control’s purpose clearer for users of assistive technologies

 The glue that binds the text inside the label element with the form control it is related (explicit association)  If you wrap a form control inside a you could skip the for attribute (implicit association)  Best practice: do both

 Allows control to be activated using a keyboard shortcut  Key combinations depend on operating system/browser combination Alt + accesskey (IE/Windows) Alt + Shift + accesskey (Firefox/Windows) Ctrl + accesskey (Mac browsers) Shift + Esc (Opera displays a list of links to controls with accesskey attributes defined)

 Invisible to user Use title attribute to help user discovery via tooltip  Can clash with keystrokes in the operating system or other assistive technologies

Web Accessibility Initiative Accessible Rich Internet ApplicationSuite  A proposed W3C standard developed by the Web Accessibility Initiative group for creating an Accessible Rich Internet Application Suite  Goal is to create a set of attributes for improving accessibility of HTML elements to assistive technologies  Make web applications accessible

 A stop-gap solution until assistive technologies have better HTML5 support  WAI-ARIA provides: Roles for widgets (navigation menus, sliders, progress meters) Properties for identifying dynamically updated regions in web page Ways to enable keyboard navigation Roles to describe structure of page (headings, regions, tables)

 Using role attribute we can replace the use of non-semantic class and id values  Example roles include: banner, complementary, contentinfo, main, navigation and search

accessibility-of-wai-aria/ accessibility-of-wai-aria/