Yahoo! Accessibility

Code

Find accessible code samples and descriptions.

Defining isAccessibilityElement in your iOS Application

Wednesday, March 28th, 2012

I remember the first time I tested an iPad app for accessibility. Yahoo! Finance was preparing to launch MarketDash and wanted to make sure it was as accessible as the web site. With VoiceOver enabled and a Flip cam set to record, Victor Tsaran and I began exploring the app. The most confusing bug we found was an empty article page.screenshot of an article within MarketDash

It was impossible to read a news article with VoiceOver enabled. It worked fine with VoiceOver disabled and I could read the article in Safari. However, the article within MarketDash was a black hole.

The Finance engineers added confusion by responding with "we needed to remove the accessibility setting." In other words, they made it more accessible by removing accessibility. Perhaps you’ve had a similarly confusing experience.

Continue reading Defining isAccessibilityElement in your iOS Application

Increase iOS Accessibility with Accessibility Hints

Thursday, March 22nd, 2012

Apple’s iOS Human Interface Guidelines encourage developers to create compelling, immersive mobile interfaces. The goal is to delight the user with an inventive interface that invites the user to touch and explore. Often times, this leads to designs with interactions that are not immediately understood.

Continue reading Increase iOS Accessibility with Accessibility Hints

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

Understanding ARIA Widgets

Tuesday, February 7th, 2012

ARIA is a W3C specification that can be used to dramatically improve the accessibility of custom widgets, especially for users of screen readers. For those unfamiliar with ARIA this article aims to explain the unfamiliar through the lens of the familiar: existing HTML widgets.

Continue reading Understanding ARIA Widgets

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

Create Dynamic Form Labels with ARIA

Thursday, August 18th, 2011

Many times ARIA is used as a quick fix for accessibility issues caused when more semantic elements should have been used. For instance, an input could use aria-label when the design for the page does not include a visible label tag. Another common use is role="button" when links are used for actions instead of the semantic button. ARIA roles and attributes provide simple solutions to low-hanging fruit; something developers with legacy code and screen reader users can appreciate.

Continue reading Create Dynamic Form Labels with ARIA

An Accessible Solution for Yahoo Search Direct

Monday, August 15th, 2011

Caridy PatiƱo, the principal frontend engineer for Yahoo! Search Direct, just wrote an article for the Yahoo! User Interface blog on what went into creating an accessible, dynamic search box: Making Search Direct Accessible.

Caridy worked with Victor Tsaran, of the Yahoo! Accessibility Lab, to fine tune the experience of screen reader users typing a search query and being notified of potential results.
Continue reading An Accessible Solution for Yahoo Search Direct

Using ARIA to Fix Non-standard Images on Flickr

Wednesday, August 3rd, 2011

Flickr [EXPLORED]Flickr recently published an article that addressed how they rebuilt their lightbox presentation for mobile devices: Lessons Learned from the Flickr Touch Lightbox. This article shows that perceived performance is extremely important on a mobile device. User’s expect something to occur as soon as they touch the screen and any delay degrades the experience.

Continue reading Using ARIA to Fix Non-standard Images on Flickr

Creating Accessible Image Links

Tuesday, July 26th, 2011

They say an image is worth a thousand words. This is especially true on the internet; where screen space is limited and an image can give users a quick summary of an article’s content, the appeal of a new product, or a summary of data. Images are also used to give fine control over typography and design.

Internet users also tend to click on images, as they are usually associated with links. Herein lies the problem. Images represent the link’s purpose visually, but how can you ensure the link is usable to non-visual users as well?

Continue reading Creating Accessible Image Links