Yahoo! Accessibility

Posts Tagged ‘CSS’

Focus Feedback

Friday, March 16th, 2012

The browser provides visual feedback when a control receives focus. The default visualization usually matches how focus is rendered on the host platform: On Windows this is a subtle dotted outline, on MacOS a blue glow.

Windows: Mac:

The focus outline is important in that it both directs the users attention, and serves as a cursor for users who navigate using the keyboard (most commonly by pressing Tab or Shift + Tab). Often the focus outline is removed using CSS, making navigation impossible for keyboard users.

Continue reading Focus Feedback

Techniques for High-Contrast-Friendly Icons

Tuesday, October 11th, 2011

CSS background images are the most popular means of using image sprites, but this technique can cause problems for users of High Contrast mode in Windows. Background images are disabled when High Contrast mode is enabled, causing all sprites to disappear. For example, consider the following toolbar containing buttons labeled with icons created using background images:

Screen shot of a toolbar with buttons labeled with icons created using background images

Here is how the toolbar renders when High Contrast mode is enabled.

Screen shot of a toolbar with buttons labeled with icons created using background images rendered in High Contrast mode

As illustrated, use of CSS background images can result in information loss for users when High Contrast mode is enabled, especially in the following use cases:

  • An image is the only visual label for a UI control (e.g. a button, menuitem, etc.)
  • An image conveys state (e.g. selected, checked, etc.) or other supplemental information (e.g. a message has an attachment)

This is especially problematic considering High Contrast mode is designed to make the UI easier to see. Fortunately there are several alternatives to background images that work in High Contrast mode.

Continue reading Techniques for High-Contrast-Friendly Icons

Easy Fixes to Common Accessibility Problems

Thursday, October 6th, 2011

easyMaking a site or application accessible can seem so overwhelming that it can completely stall efforts before they begin. But sometimes simple changes can provide the necessary momentum while resulting in significant improvements for users.

So, in the spirit of small things that make a big difference, here’s a list of fixes for common accessibility problems.

Continue reading Easy Fixes to Common Accessibility Problems

Test ARIA and Focus with Bookmarklets

Friday, April 8th, 2011

Sometimes it is difficult to keep track of your keyboard focus, landmark roles and tab index. We’ve created a couple bookmarklets for our own testing. These easy to use bookmarklets add CSS to quickly highlight your page’s information. Simply save the following links to your bookmarks, then load your test page and click the bookmark. While these work in all browsers, you’ll get better results using Firefox, Chrome, Safari, or Internet Explorer 9.

You’ll learn a lot about the Yahoo! home page’s use of ARIA with the landmark/tabindex bookmarklet. Check it out.

Common Accessibility Mistakes

Monday, March 28th, 2011

Even the best-intentioned web developers can make simple accessibility mistakes. This presentation was put together for an internal Yahoo! conference for front-end engineers. It reminds web developers that there are still some basic problems on the web, let’s fix these today and avoid them in the future. The presentation was written by Thierry Koblentz and Ted Drake.

Continue reading Common Accessibility Mistakes

Yahoo! Hack University: Accessibility Innovations and Challenges

Tuesday, March 8th, 2011

University of Washington Hack Day Yahoo’s HackU events allow Yahoo! engineers to hang out with college students for a week as they explore the latest technologies and spend 24 hours in a caffeine powered hack-a-thon. The University of Washington features several accessibility related research programs. So it was great to visit the campus and deliver this presentation on the existing accessibility challenges and future innovations.

This year’s HackU event featured some amazing hacks. The Accessible Hack award winning team attempted to translate data charts into readable text.

You can skip the slide movie and go straight to the presentation transcript with notes.

Continue reading Yahoo! Hack University: Accessibility Innovations and Challenges

Build an accessible ratings widget

Monday, February 28th, 2011

Building accessible websites often means looking at how a widget functions and not what it looks like. We can always use CSS to change the look of a tool, but you can’t always make the wrong elements work correctly.

Thierry Koblentz’s article Developing an Accessible Star Ratings Widget for the Yahoo! Developer Network looks at the various rating widgets on the internet. He looks at how users can rate an article and the best way to display the aggregated rating.

Continue reading Build an accessible ratings widget

Five Layers of Accessibility

Wednesday, February 9th, 2011

Dirk Ginader gave this presentation on the 5 layers of accessibility at a Skills Matter event in London. Dirk pushes the traditional view of web development as three layers (HTML, CSS, JavaScript) by adding CSS for JavaScript enabled users and ARIA functionality. This presentation also uses the Yahoo! Finance Currency Converter as an example of progressive enhancement.

Continue reading Five Layers of Accessibility

Clip your hidden content for better accessibility

Wednesday, February 2nd, 2011

There’s a balance between creating a clean, simple visual design and providing accessible content and functionality. One common solution is to provide text to screen readers that is hidden via CSS.
comparison of form inputs with visible and invisible labels

The top search form has a hidden label using the clip pattern. The bottom form's label is without CSS

Please visit our Screen Reader Test: Accessible solutions for hiding content for more information on the accessibility of hidden content. This article demonstrates how screen readers announce the various methods of hiding elements, such as labels, with CSS.

Continue reading Clip your hidden content for better accessibility

Accessible solutions for hiding content

Tuesday, January 4th, 2011