CSS Tips and Tricks for Designing Accessible Websites Presented by Grace Strother.

Slides:



Advertisements
Similar presentations
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Advertisements

Web Engineering 1 Ishaq Khan Shinwari MCS City University Peshawar.
Cascading Style Sheets
Cascading Style Sheets
Cascading Style Sheets: Basics I450 Technology Seminar Copyright 2003, Matt Hottell.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
CSS Digital Media: Communication and design 2007.
Today CSS HTML A project.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Slide 1 CMPS 211 Internet Programming Spring 2008 Dynamic Effects with Styles Chapter 12 2/6/08.
Chapter 7 Page Layout Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Very quick intro HTML and CSS. Sample html A Web Title.
Cascading Style Sheets (CSS): Pixel-Level Control with HTML Ease
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Cascading Style Sheets Basics. Why use Cascading Style Sheets? Allows you to set up a series of rules for all pages in a site. The series may be changed.
Principles of Web Design 5 th Edition Chapter Nine Site Navigation.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
© 2004, Robert K. Moniot Chapter 6 CSS : Cascading Style Sheets.
INTRODUCTORY Tutorial 7 Creating Liquid Layouts. XP Objectives Discern the differences among various types of layouts Create a liquid layout Create a.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 9 Key Concepts.
End User Computing An Introduction to CSS Sujana Jyothi Research Lab1, Callan Building, Department of Computer Science
Advance CSS (Menu and Layout) Miftahul Huda. CSS Navigation MENU It's truly remarkable what can be achieved through CSS, especially with navigation menus.
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
1 Pengantar Teknologi Internet W03: CSS Cascading Style Sheets.
Recognizing the Benefits of Using CSS 1. The Evolution of CSS CSS was developed to standardize display information CSS was slow to be supported by browsers.
CSS(Cascading Style Sheets )
CSW131 Steven Battilana 1 CSW 131 – Chapter 5 (More) Advanced CSS Prepared by Prof. B. for use with Teach Yourself Visually Web Design by Ron Huddleston,
Part 3 Introduction to CSS. CSS Text Text Styles h1 {color: green} // rgb(0,255,0), #00ff00 h2{letter-spacing: 0.5cm} // 2px h3 {text-align: right} //
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Measurement Many CSS properties (values within the declaration) require that you specify a unit of measurement, such as spacing between elements, border.
© 2010, Robert K. Moniot Chapter 5 CSS : Cascading Style Sheets 1.
ADVANCED CSS William Neely CEO, Piecewise.com. CSS FONTS AND TEXT CSS ‣ Line-height allows to indicate the amount of space between lines; allows for equal.
Unit 20 - Client Side Customisation of Web Pages
Chapter 8 Creating Style Sheets.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Week 7 Web Typography. 2 Understanding Type Design Principles.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
Chapter 7 Web Typography Principles of Web Design, 4 th Edition.
Chapter 12 Cascading Style Sheets: Part II The Web Warrior Guide to Web Design Technologies.
 Word doc for you to download › Link at the beginning of class › 10 Questions › Answers to be added inline  Post to Sakai when completed › No resubmits.
Lesson 05 // Web Design, Layout & Structure 1.Web Design/Designer-Coder Relationship 2.Fixed vs Fluid Website Layouts 3.Screen Resolutions.
Professor Waterman Cascading Style Sheets (CSS) is a language that works with HTML documents to define the way content is presented. The presentation.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
Chapter 7.  Change body and link styles  Create a drop-down menu  Change color and font styles in the menu  Create a pop-up effect using CSS  Utilize.
WebD Introduction to CSS By Manik Rastogi.
CSS.
The Box Model in CSS Web Design – Sec 4-8
CS3220 Web and Internet Programming CSS Basics
The Box Model in CSS Web Design – Sec 4-8
Advanced CSS BIS1523 – Lecture 20.
Cascading Style Sheets (Layout)
The Box Model in CSS Web Design – Sec 4-8
Chapter 7 Page Layout Basics Key Concepts
Cascading Style Sheets
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Basics of Web Design Chapter 7 Page Layout Basics Key Concepts
CMPE 280 Web UI Design and Development September 4 Class Meeting
Cascading Style Sheets Color and Font Properties
CS3220 Web and Internet Programming CSS Basics
CMPE 280 Web UI Design and Development February 7 Class Meeting
CS3220 Web and Internet Programming CSS Basics
Cascading Style sheet. What is CSS?  CSS stands for Cascading Style Sheets  Cascading: refers to the procedure that determines which style will apply.
Session IV Chapter 15 - How Work with Fonts and Printing
Introduction to Cascading Style Sheets (CSS)
Cascading Style Sheets™ (CSS)
CMPE 280 Web UI Design and Development September 5 Class Meeting
Presentation transcript:

CSS Tips and Tricks for Designing Accessible Websites Presented by Grace Strother

Objectives Understand the benefits of CSS Understand principles of liquid design and how it relates to accessibility Demonstrate simple techniques for using CSS to make websites more accessible List some useful resources

Benefits of CSS

CSS Helps Your Users… Exercise greater control over how websites are presented. Access websites on multiple media platforms: o Computer monitors o Paper o Projectors o Screen readers for the blind o Mobile phones

CSS Helps You… Save time by c ontrolling the styles for your entire website with one file. Simplify your web documents. Reduce file sizes.

Liquid Design

Principles of Liquid Design Layout elements are given relative sizes (usually percentages). The page scales to fit any view port, no matter the resolution, screen size, or text size. The user does not need to use the horizontal scroll bar.

Liquid Design and Accessibility Liquid design helps your page “degrade gracefully.” The page displays properly even if the user: o Changes text size or screen resolution. o Views the page on an extra large monitor. o Disables style sheets.

CSS Techniques

The Undohtml.css File Each web browser has default styles for elements like h1, div, p, ol, and so on. Tantek’s undohtml.css file cancels out these default styles.undohtml.css In your web document, add a link to this file before the link to your own style sheet.

Positioning the Skip Nav Link The Skip Nav jump link enables screen reader users to skip past navigation links to the main content. To hide the Skip Nav link from users who don’t need it, position it off-screen. Example: div#skip {font-size:.1em; position: absolute; left: -1000em;}

Font Color and Background Color Always define a background color when defining a font color (and vice versa). Use colors that contrast enough for easy reading. Example: body {background-color: white; font-color: black;}

Relative Units for Font Sizes Relative units help users control text size. Avoid absolute units (e.g. pixels, inches, or points) whenever possible. Examples: o h1 {font-size: larger;} o div {font-size:.8em;}

Optimal Line Height Optimal line heights help users with visual impairments or dyslexia. Define a line height between 1.2 and 1.6 times the normal height. Example: body {font-family: Arial, sans-serif; font-size: 1em; line-height: 1.3;}

Bottom Border for Links The default underline for links obscures the descenders for letters like “g” and “y.” Use a bottom border instead of underlining. Example: a:link {text-decoration: none; border-bottom: 1px blue solid; padding-bottom: 2px;}

Link Pseudo-Classes Define styles for the :focus pseudo-class as well as :hover so mouse and non- mouse users have similar experiences. IE7 gives :focus the same styles as :active. Example: a:hover, a:active, a:focus {background- color: white; color: red;}

Making Text in All Caps Sound Normal Avoid all caps whenever possible. “CONTACT US” = “Contact U. S.” to screen readers. If necessary, use text-transform to make your text appear in all caps. This technique may not work with IE and the ZoomText screen reader. Example:.allcaps {text-transform: uppercase;}

Resources “CSS for Accessibility” by Ann McMeekinCSS for Accessibility CSS: The Definitive Guide by Eric Meyer (Third Edition). Available in print or online at mysafaribooksonline.com. “G146: Using Liquid Layout”G146: Using Liquid Layout “Liquid Design - A Step Forward To Make Your Website Accessible”Liquid Design - A Step Forward To Make Your Website Accessible

Resources (Cont.) “Really Undoing Html.css” by Eric MeyerReally Undoing Html.css “Top Ten Tips for Making Your Website Accessible”Top Ten Tips for Making Your Website Accessible “Using CSS focus pseudo class” by Matt LawsonUsing CSS focus pseudo class