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

Slides:



Advertisements
Similar presentations
Use Tables for Layout Control Day 7. You will learn to: Understand Tables Create a Simple Table Modify Your Tables Appearance Create Page Layouts with.
Advertisements

Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything Text Lists Other tables Pictures …
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Working with Web Tables
HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
16 HTML Tables and Frames Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Tables And Lists. Slide 2 Lecture Overview Learn about the basics of tables Create simple 2-dimensional tables Format tables Create tables with complex.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 8 Key Concepts 1 Copyright © Terry Felke-Morris.
1 XHTML Tables A table is a matrix of cells, for displaying content in rows and columns The cells can include almost any element Some cells display row.
XHTML1 Tables N100 Creating a Simple Web Page. XHTML2 Creating Basic Tables Tables are collections of rows and columns that you use to organize and display.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
Bayu Priyambadha, S.Kom. for long documents, you can even have links to other locations in that same document  … where ident is a variable for identifying.
Updated on: September 4, 2010 CIS67 Foundations for Creating Web Pages Professor Al Fichera.
Tables Teppo Räisänen LIIKE/OAMK The Role of a Table Tables are quite common in computing systems In XHTML tables are used for presenting tabular.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
Chapter 5 Creating Page Templates
CO1552 – Web Application Development Lists, Special Characters, and Tables.
Lecture: Tables. Table Tags (all container tags) establishes a table (________) establishes a row (________) says what’s in the row more than one TD within.
Actual Building the Pages Tables. Using Table Elements  To build effective page templates, you must be familiar with the HTML table elements and attributes.
Website Development with Dreamweaver
10/4/2015Tables1 Spring, 2008 Modified by Linda Kenney 4/2/08.
Tutorial 5 Working with Tables and Columns
Tutorial 5 Working with Tables and Columns
Html Tables Basic Table Markup. How Tables are Used For Data Display Tables were originally designed to display and organize tabular data (charts, statistics,
1 Week Four– Advance HTML 2 Dr. Fadi Safieddine. 2 Lecture Content Basic HTML Tables Using based Feedback form Creating and Using Image Maps Nested.
Guideline 12 Provide context and orientation information.
Week 5 Working with Tables. 2 Understanding Table Basics.
WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: HTML/XHTML Tables (NON-audio version) © Dr. David C. Gibbs
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything › Text › Lists › Other tables › Pictures › …
Lesson 7. Tables Table Tags and Attributes Tables HTML tables are used in two main ways: 1.To organize tabular data in a familiar spreadsheet-like way.
 2003 Prentice Hall, Inc. All rights reserved. Introduction to HTML: Tables Outline 1 Introduction 2 Basic HTML Tables 3 Intermediate HTML Tables and.
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
Chapter 5 Creating Page Templates. Principles of Web Design 2nd Ed. Chapter 5 2 Principles of Web Design Chapter 5 Objectives Understand table basics.
HTML Tables The HTML table model allows authors to arrange data - text, preformatted text, images, links, forms, form fields, other tables, etc. - into.
Chapter 5 Working with Tables Principles of Web Design, 4 th Edition.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
Introduction to Web Site Development John Hurley Department of Computer Science California State University, Los Angeles Lecture 4: Favicons Tables and.
LINKING WEBPAGES USING HTML HYPERLINKS. Hyperlinks are text strings or images on a webpage which when clicked on, links to another section in the same.
Tables creating a table within a web page. What makes up a table? Columns Rows.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 5.
Tables.  How tables are used  Basic table structure  Importance of headers  Spanning rows and columns  Cell padding and spacing  Accessibility.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
Tutorial 5 Working with Web Tables
Organizing Content with Lists and Tables
Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj
Working with Tables: Module A: Table Basics
>> HTML: Tables.
Cao Yuewen SEEM4570 Tutorial 03: CSS Cao Yuewen
Web Development & Design Foundations with HTML5 8th Edition
Tables and Frames.
HTML Tables.
Tutorial 5 Working with Tables and Columns
Introduction to Web Site Development
Tutorial 5 Working with Web Tables
HTML and CSS 8th Edition Chapter 18: Tables.
Chapter 8 Tables.
Web Development & Design Foundations with H T M L 5
Implementing Tables to Hold Data in HTML
Introduction to HTML.
Site Development Foundations Lesson 6
Principles of Web Design 5th Edition
Layout and Design with Tables and Frames
Hypertext Markup Language Table 11th Lecture
Basics of Web Design Chapter 9 Table Basics Key Concepts
Presentation transcript:

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

Accessible Tables OBJECTIVE: The learner will list three accessibility issues with tables and how to avoid each one

What is a Table? Presentational construct Presentational construct Arranged in rows and columns Arranged in rows and columns Useful for organizing information in two dimensions Useful for organizing information in two dimensions

What is a Table? Comprised of collection of table cells Comprised of collection of table cells

What is a Table? Co-opted by web developers for use as layout tool prior to adoption of Cascading Style Sheets (CSS) Co-opted by web developers for use as layout tool prior to adoption of Cascading Style Sheets (CSS) Use for layout no longer necessary and strongly discouraged, but still used Use for layout no longer necessary and strongly discouraged, but still used

Why Use HTML Tables? Appropriate for: Appropriate for: Data tables Data tables Spreadsheets Spreadsheets Tabular Charts Tabular Charts

Parts of an HTML Table table element table element Opens and closes table Opens and closes table Sets some aspects of appearance (via border, cellpadding, cellspacing, width attributes) Sets some aspects of appearance (via border, cellpadding, cellspacing, width attributes) Provides summary of contents (not displayed, but used by screen readers) via summary attribute Provides summary of contents (not displayed, but used by screen readers) via summary attribute

Parts of an HTML Table caption – between table declaration and first row, provides tables displayed title caption – between table declaration and first row, provides tables displayed title thead, tbody, tfoot – elements identifying different sections of larger tables – macro elements usually containing multiple rows thead, tbody, tfoot – elements identifying different sections of larger tables – macro elements usually containing multiple rows

Parts of an HTML Table tr – table row – identifies collection of adjacent cells that will appear on the same line tr – table row – identifies collection of adjacent cells that will appear on the same line th – column/row heading – identifies the cell that describes a columns or row's contents th – column/row heading – identifies the cell that describes a columns or row's contents td – table data – identifies contents of single table cell td – table data – identifies contents of single table cell

What Accessibility Problems do Tables Pose? Failure to provide adequate context can make information meaningless Failure to provide adequate context can make information meaningless Improperly designed tables do not render information correctly when using screen reader Improperly designed tables do not render information correctly when using screen reader Using absolute values in table dimensions can make scrolling difficult for users with mobility impairments Using absolute values in table dimensions can make scrolling difficult for users with mobility impairments

Table Cell Relationships Table cells arent useful without context What does 3.5 mean in this context??

Table Cell Relationships Table cells arent useful without context What does 3.5 mean in this context??

IT Accessibility Committee Example: Context EAP Monthly Report

What Accessibility Problems do Tables Pose? Failure to provide adequate context can make information meaningless Failure to provide adequate context can make information meaningless Improperly designed tables do not render information correctly when using screen reader Improperly designed tables do not render information correctly when using screen reader Using absolute values in table dimensions can make scrolling difficult for users with mobility impairments Using absolute values in table dimensions can make scrolling difficult for users with mobility impairments

Table Cell Relationships Screen readers LINEARIZE table data Screen readers LINEARIZE table data How a Screen Reader processes a table: How a Screen Reader processes a table: Top to bottom, left to right Top to bottom, left to right Row 1, Column 1 Row 1, Column 1 Row 1, Column 2 Row 1, Column 2 Row 1, Column 3 Row 1, Column 3 Row 2, Column 1 Row 2, Column 1 Etc…. Etc….

Linearization Problems Caused when tables used to layout for appearance, not data relationships Caused when tables used to layout for appearance, not data relationships

Linearization Problems: What you see isnt always what you get …

Help for Linearization Several sites help you discover what your page reads like when linearized: Several sites help you discover what your page reads like when linearized: Tablin ( Tablin ( Lynxview ( Lynxview ( Lynx – Text browser for Unix and Windows ( Lynx – Text browser for Unix and Windows (

What Accessibility Problems do Tables Pose? Failure to provide adequate context can make information meaningless Failure to provide adequate context can make information meaningless Improperly designed tables do not render information correctly when using screen reader Improperly designed tables do not render information correctly when using screen reader Using absolute values in table dimensions can make scrolling difficult for users with mobility impairments Using absolute values in table dimensions can make scrolling difficult for users with mobility impairments

Making Tables Accessible: Proportional v. Absolute Sizing The problem starts with a developer that wants to optimize his table to fit his entire screen… The problem starts with a developer that wants to optimize his table to fit his entire screen…

Making Tables Accessible: Proportional v. Absolute Sizing The first person to visit the developers site has an 800 X 600 display and doesnt see things quite the same way… The first person to visit the developers site has an 800 X 600 display and doesnt see things quite the same way…

Making Tables Accessible: Proportional v. Absolute Sizing And the developers customer has a 640 X 480 display … And the developers customer has a 640 X 480 display …

Making Tables Accessible: Proportional v. Absolute Sizing If the developer had used a proportional table size, his table would have been optimized for EVERYONES monitor… If the developer had used a proportional table size, his table would have been optimized for EVERYONES monitor…

Screen Readers and Tables Highlighted cell in Screen Reader (without proper markup): 3.5 – 3.5 what? Highlighted cell in Screen Reader (without proper markup): 3.5 – 3.5 what? Highlighted cell in Screen Reader (with proper markup): To Make:, 3 cups, Tsps. Coffee, 3.5 Highlighted cell in Screen Reader (with proper markup): To Make:, 3 cups, Tsps. Coffee, 3.5 HOW? HOW?

Leverage Attributes to Provide Additional Context Coffee Recipe Coffee Recipe To Make: To Make: Tsps. Coffee Tsps. Coffee C. Water C. Water 3 cups 3 cups

Other Common Problems Large tables load slowly for people with low- bandwidth connections Large tables load slowly for people with low- bandwidth connections Large, complex tables difficult to decipher for those with low vision; can be impossible for those without vision Large, complex tables difficult to decipher for those with low vision; can be impossible for those without vision Inappropriate use of markup (e.g., using th because you want text bolded & centered Inappropriate use of markup (e.g., using th because you want text bolded & centered