Accessible WordPress Theme Development AccessU 2011 Pat Ramsey slash25 code

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

Wordpress Theme Hacks Nearly Anyone Can Do Afraid you might "break something" by mucking around in your theme? With a little determination, and just a.
Wordpress Training with Sarah Sibert. How To... Removing elements from your theme – search bar/dates on posts/comments Change the styling of headings.
WordPress Themes.
WordPress from Start to Finish Day 1: Installing and Using WordPress Looking at the WordPress database.
Creating a WordPress Website Oklahoma Conference of The UMC Department of Communications 1.
Wordpress. Background Content Management System Why we use it How it works – PHP – MySQL.
Using WordPress as a Streamlined CMS More than just a blogging platform Case study of PMCoursefinder.ch.
USING WORDPRESS. WEEK 1 1.Why WP? 2.Setting Up WP 3.Exploring the Admin screen 4.Page Organization 5.Posting 6.Polls.
Quiz #3 - CSS Lecture Code: Get Neighbors’ URLs for MP1
Programming Club IIT Kanpur. Work environment Before you begin coding,always set up your work environment to your needs IDE Notepad++ Sublime Text 2.
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.
Today CSS HTML A project.
Introducing CSS CIS 133 mashup Javascript, jQuery and XML 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Part 5 Introduction to CSS. CSS Display - Block and Inline Elements A block element is an element that takes up the full width available, and has a line.
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.
CSS Menus and Rollovers. Agenda foil Separating style from content 3 pages in one file Rollovers in CSS Horizontal drop-downs Vertical drop-downs.
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.
SM5312 week 11: CSS Menus & Navigation Bars1 An Introduction to Cascading Style Sheets CSS Menus and Navigation Bars Nick Foxall.
1 Module 6. More on File Management. 2 Update banner.jpg file from File Management. The banner must be 940px wide. Step 1. Click on the File Management.
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.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
Navigation Bars Level 2 Extended Certificate Unit B12 Doing Business Online.
1 Dreamweaver CS5 intermediate class by Cookie Setton Build a CSS website WITHOUT TABLES Just when you thought you were starting to understand HTML coding,
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
WAHEP Website Check-up A Look at the Project Midway Website Evaluations.
กระบวนวิชา 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.
© 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
Day 2 – JavaScript & PHP.  Have the hover effect display an extra image  Add an extra image for each of the tags  In your writeText() function, you.
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.
 Share assignments and files  Student and parent home access  Announcements  Classroom information.
WPML Translation plugin is the best option when you need to translate your Wordpress website into multiple languages. The plugin makes it easy to translate.
Bones – HTML5 Wordpress Theme Development
Basics of Administration & Theming - Smarajit Dasgupta.
Single Page Applications with AngluarJS Bill Wolff Rob Keiser
#psuweb13 WORDPRESS THEMES 101 A WORDPRESS THEME INTRO WORKSHOP.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
CSS Positioning Creating Special Effects with CSS CS202 Working with Cascading Style Sheets (Chapter 4) CS202 1.
Back to Table of Contents CAPA Website Tutorial Anne Dang, CCPA Webmaster for CAPA.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
CD Web XMS Training How to use the Xeno Media web site content management system.
Advanced Web 2012 Lecture 11 Sean Costain 2012.
+ Publishing Your First Post USING WORDPRESS. + A CMS (content management system) is an application that allows you to publish, edit, modify, organize,
Understanding CSS Cascading Style Sheets control the presentation of content in HTML pages Style Sheets separate formatting from the content –Styles defined.
Workshop Partner:. Saad Amin Cofounder and CTO Inspire Chittagong Cofounder & Managing Director Codework Builders and Assets Ltd.
CSS.
Creating a Theme From Scratch in Drupal
How to use.
Accessibility with WordPress
Web Development & Design Foundations with HTML5 7th Edition
Chapter 7 Page Layout Basics Key Concepts
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5
Basics of Web Design Chapter 7 Page Layout Basics Key Concepts
Accessibility with WordPress
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with HTML5
Web Development & Design Foundations with HTML5
Presentation transcript:

Accessible WordPress Theme Development AccessU 2011 Pat Ramsey slash25 code

17 May, 2011Accessible WordPress Theming - Pat Ramsey2 Is WordPress Accessible? Front-end: Controlled by your theme. Is as accessible as you make it. Back-end: Controlled by WordPress core-developers, contributors, and you. Can be customized by you via your theme's functions.php.

17 May, 2011Accessible WordPress Theming - Pat Ramsey3 Front-end accessibility Know where you want to be TwentyTen (soon to be TwentyEleven) Developing a Child Theme: Must check the parent theme's accessibility, too.

17 May, 2011Accessible WordPress Theming - Pat Ramsey4 Back-end accessibility Room for improvement. Greater difficulty, but can be done Avoid modifying core files (files outside your theme)

17 May, 2011Accessible WordPress Theming - Pat Ramsey5 WordPress is listening You can contribute…

17 May, 2011Accessible WordPress Theming - Pat Ramsey6 Ready to go? Improving the theme Improve the WordPress search form Links Comment Form Read More links – excerpts Internationalization

17 May, 2011Accessible WordPress Theming - Pat Ramsey7 Improving the Back End Add a Skipnav to skip the administrative menu Improve the CSS for link focus & outline

17 May, 2011Accessible WordPress Theming - Pat Ramsey8 WordPress' Search Form "> " />

17 May, 2011Accessible WordPress Theming - Pat Ramsey9 More accessible search form "> " />

17 May, 2011Accessible WordPress Theming - Pat Ramsey10 More accessible search form "> " placeholder=" " /> " />

17 May, 2011Accessible WordPress Theming - Pat Ramsey11 CSS for the form Still allows for “clean” design, but doesn't remove elements from assistive tech: #searchForm label, #branding #searchsubmit { position:absolute; margin-left:-9999px; }

Links Tendency to not underline links. Rarely is the :focus selector used

Links – CSS TwentyEleven: a { color: #1b8be0;text-decoration: none; } a:focus,a:active,a:hover { text-decoration: underline; }

Links – improved a {color: #1b8be0;text-decoration: underline;} a:focus,a:hover {color:#800;} a:active {color:#c00;} a:visited {color:#122b61;}

Outline Outline is set to 0 by default. Use :focus pseudo-class :focus {outline:1px dotted #000;}

17 May, 2011Accessible WordPress Theming - Pat Ramsey16 Comment Form Called by function comment_form(); Can be customized in your functions.php Copy the comment_form function in comment- template.php (in wp-includes)

17 May, 2011Accessible WordPress Theming - Pat Ramsey17 Read More... An excerpt ends with [...] by default. You may need to customize this. excerpt_more()  Replace the […] with text, links, …, etc.  You can replace “Read more...” with something more descriptive excerpt_length()  Control how long the excerpt is (in words).

17 May, 2011Accessible WordPress Theming - Pat Ramsey18 Internationalization (I18n) For words that are in your theme templates, make them translatable. __() $foo = __('Hello World'); Content that is being passed to another function _e() Content that is rendering on the page

17 May, 2011Accessible WordPress Theming - Pat Ramsey19 Bonus Round Making changes to the back-end admin_enqueue_script();  Inject code into the head of the admin add_action('admin_enqueue_scripts','access_fix'); function access_fix() { echo' '; wp_enqueue_script( 'access', get_bloginfo('template_directory').'/js/access.js', array('jquery'), '1.0', false ); }

17 May, 2011Accessible WordPress Theming - Pat Ramsey20 add_action('admin_enqueue_scripts','access_fix'); function access_fix() { echo' '; wp_enqueue_script( 'access', get_bloginfo('template_directory').'/js/access.js', array('jquery'), '1.0', false ); }

17 May, 2011Accessible WordPress Theming - Pat Ramsey21 add_action('admin_menu', 'my_admin_menu'); function my_admin_menu() { $page_title = ''; $menu_title = 'Skip to Main Content'; $capability = 'read'; $menu_slug = '#wpbody-content'; $function = ''; $icon_url = ''; $position = '0'; add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position ); } Skipnav on the backend?

17 May, 2011Accessible WordPress Theming - Pat Ramsey22 Resources