Tuesday, August 26, 2014

Speaking at Accessibility Camp Toronto 2014

Accessibility Camp Toronto logo

I am excited to say that I will be speaking at Accessibility Camp Toronto in late September. It probably goes without saying that I'll be speaking on accessibility. Given Toronto's proximity to my home town of Buffalo, and the fact that I used to wander up to Toronto about once a month, it will be nice to visit a city I've neglected for a couple years now.

Instead of re-stating what Accessibility Camp Toronto is all about, I am going to cheat and quote the site directly:

Focusing on users with different disabilities, sessions can cover digital accessibility topics from the web (technical to tactical), desktop software, mobile apps, eLearning, online gaming, open source innovations, and everything in between. Watch this brief video from the first Accessibility Camp Toronto to get a feel for what to expect during the day. Also, video recordings from the 2013 camp are available.

Regardless of your level of knowledge, this event is for you. It will be a great opportunity for members of the design/development, usability, accessibility, other IT and end-users with disabilities communities to interact and learn from each other. We recommend you browse the Frequently Asked Questions, especially if you have never attended a participant-driven BarCamp/unconference before.

Please support the event with a $5 suggested donation at the door. Your donation will help cover the costs for miscellaneous expenses - event materials, food, etc.

Please follow event updates on Twitter via @a11yto.

Make sure you register as it is my understanding that the event is three quarters full. If you don't follow @a11yto for updates, at least check in on the #a11yto hashtag.

The nitty gritty: the event is held from 9:00am until 4:00pm on Saturday, September 27, 2014. It is being held at OCAD University, 100 McCaul Street, Toronto, ON M5T 1W1. As a courtesy and way to fill space on this post I have embedded the map:

Monday, August 25, 2014

Speaking at WordCamp Buffalo 2014

On Saturday, September 13, I will have the pleasure of speaking at WordCamp Buffalo for its (and my) third year. Based on the speaker line-up there will be plenty of great topics, so I look forward to being an attendee as well.

If you are new to WordCamp Buffalo, a quick overview:

WordCamp Buffalo is a one day conference held in Buffalo, NY focusing on WordPress. Our goal is to increase knowledge about WordPress for people who already are working with it, and show some benefits of using it for anyone who may be interested, but aren’t currently working with WordPress.

I will be presenting on accessibility. The abstract from my session:

We can all pretend that we're helping others by making web sites accessible, but we are really making the web better for our future selves. Learn some fundamentals of web accessibility and how it can benefit you (whether future you from aging or you after something else limits your abilities). We'll review simple testing techniques, basic features and enhancements, coming trends, and where to get help. This isn't intended to be a deep dive into ARIA, but more of an overall primer for those who aren't sure where to start nor how it helps them.

Tickets are available now, so you have plenty of time to prepare for heckling me. This year the event is being held at the new Science Hall on the Canisius College campus. A map is embedded below, and information on metro stops, hotels, and parking is available on the WordCamp Buffalo site.

Tuesday, July 15, 2014

CSS Summit 2014 Slides: Making Your Site Printable

CSS Summit

This afternoon I awkwardly stumbled through my talk for CSS Summit, Making Your Site Printable. I can tell you that speaking to a screen instead of to a room full of people is a whole different experience than I was expecting. Fortunately for you I do not have an audio/video recording. I do however, have all the slides.

Slides

Making Your Site Printable: CSS Summit 2014 from Adrian Roselli

Links

Links to resources referenced in the slides (in the order they appear):

Ticket Giveaway

I'd like to note that thanks to the generosity of CSS Summit, I was provided with two tickets to today's talks that I could give away as I saw fit. I opted to offer them to two deserving young women from the Buffalo chapter of Girl Develop It (neither heckled me):

The Twitters

Finally, one of the novel things about an online conference is that attendees seem to be more active on Twitter. I got feedback and questions, and even fielded a few sub-tweets (I happen to know the print styles aren't glamorous, but most of the fundamentals aren't). I've collected the tweets in a Storify, which I have embedded here:

Update: July 21, 2014

Based on the activity from these two tweets alone, I am really hopeful that web developers are starting to see that print styles have value and belong in a responsive workflow. Only time will tell. The tweets:

Friday, July 11, 2014

Patents versus Accessibility — Again

I've ranted about frivolous patents more than once here. Others far closer to the issue do it daily, so my voice is but a drop in the ocean (and yet nothing happens).

This time it's a little different, and yet familiar (read my April post Patents versus Accessibility). Thanks to a tweet from WebAxe, I found out that somebody has patented (granted June 26, 2014) a tool that automatically makes a web site accessible. I find this a preposterous claim (at best), but here's the abstract from the patent:

A method for an accessibility solution provided as a software. The method includes approving or implementing by a website owner of a code into his website and receiving web format by a user device by “scraping” the data from the website pages or by other means of using client side plugin, server side plugin, browser or 3rd party server side or mobile app. The method also includes analyzing the data over the user device or on the server side and clicking a button by the end-user and the original code and the content and code that were collected from the website are rewritten which can also be done automatically as a suggestion to the end user, and the end-user sees or can use a new format according to the updated standard.

Unlike so many frivolous patents that are nothing more than an idea, this patent has some compelling claims. Unfortunately, the likelihood that all those claims can be realized seems pretty small.

Why I Am Wary

Just as anyone who practices accessibility understands that there is no automatic tool that can completely and truly evaluate a site's accessibility, there is also no tool that can automatically make a site accessible. To quote Jared Smith of WebAIM fame:

Accessibility is a continuum. It is based on the user experience. It cannot simply be defined as pass/fail or accessible/inaccessible.

While I don't want to attack what may very well be the well-intentioned best efforts of a dedicated person or team to improve the nature of accessibility on the web, I also have too many conversations with clients who are happy to accept a one-click solution at face value, unaware of the risks. More than anything, this post will serve as a quick reference for the inevitable conversation I'll have with a client or prospect about relying on a tool like this (or perhaps this tool in particular).

I am interested in how this tool can evaluate the value of alt text on images, verify whether an article or section is the correct sectioning element, make sure that placeholder text is not a barrier, understand when a button should be used, and so on. And then fix all these by re-writing HTML, JavaScript and CSS and not introduce more issues. These are just a tiny, miniscule slice of the kinds of decisions that require a person who understands the context in order to be successful.

The Patent Holder's Qualification

The evidence doesn't bear out that this tool can do what it advertises. The company that makes it, which promotes its accessibility services, has many issues on its own site. Which begs the question, did the company use its own tool and get such awful results, or does the company not see enough value in it to use it?

I wasn't the first to tear into the site. Folks on Twitter independently identified issues with color contrast, keyboard navigation (ok, that was me), image alt text, use of a carousel, a blank accessibility statement, incorrect ARIA role use, and misspelled ARIA attributes. All this feedback was unprompted.

To be fair, the tool may not exist yet. The patent was only just approved, though it was filed over two years ago. While I don't want to name and shame, there really is no way to make my point about the proposed tool without doing so.

The Patent Holder's Possible Example

Looking to the site of the registrant of the patent (I also made a Wayback permalink) I see an "Accessibility" box floating on its home page which may provide insight into how this patent might be applied. This "Accessibility" box allows some rudimentary control over the content. For example you can scale the text up or down, something I first built into sites about 15 years ago. You can change the text to white on black or black on white (yes, I also did that about 15 years ago). Oddly, you can convert the page to grayscale, removing all color information (it's not obvious how to turn that off, so it's still gray for me). You can toggle "alternate navigation," which just puts a big box around items that have keyboard focus (the site benefits since it wrongly uses outline:none). There is an option called "Speed control" which may adjust the rate at which its carousel/slider changes. There is an option to "Block blinking," though its affect was not immediately apparent to me.

I'm not sure that the patent would withstand scrutiny from someone who has worked in web accessibility. Some of the ideas outline, while not implemented in the tool on its own site, seem to lean on existing technologies that themselves are subsumed within patents. For example, one of the figures in the patent shows how optical character recognition (OCR) can be used to convert the text in an image into text that can be passed along to the user (figures 7a and 7b).

The Takeaway

As always with what feel like frivolous patents, I fear that they can be used to block truly useful and innovative solutions from coming to market. In this case, I worry that the already poor state of accessibility on the web could be stifled if the patent owners try to exercise any claims against those of us who've been doing accessibility work for years.

Tuesday, July 8, 2014

Changing YouTube Playback Speed

This post originally appeared on the Algonquin Studios blog.

YouTube gives users the option to modify the playback speed of some videos. This is particularly useful in the case of videos that you are obligated to watch (training videos, terrible fan videos, the occasional conference talk, etc.) and want to get through quickly. You have the option to speed a video to one-and-a-half times normal speed and double normal speed. You can also slow a video to half speed or quarter speed, which can be handy when trying to draw out a training-over-lunch session.

In order to make a go of this, you’ll need to use the YouTube HTML5 player, which you can activate at http://www.youtube.com/html5 while logged into your Google account. If you worry about browser support (for both the HTML5 video element or the various codecs), the YouTube page will show you what your browser supports. In general, if you are using a current version of your favorite browser then you should be fine.

The opening image shows where the option lives. Sadly, that awesome video of Morrissey and George Michael doing film reviews has been pulled, so instead you can try it out on this video of Hitchcock’s The Lady Vanishes (I reference it in slide 58 of my Selfish Accessibility talk). The video also has closed captions and an audio description so it’s a great example of the accessibility features available for YouTube.

When at a video, click the gear icon at the bottom right and look for the Speed menu. If the video allows you to change its playback speed, it will be there with available options. This will only apply to the selected video. If you know of a setting to have it apply to all videos, please let me know.

If you still aren’t sure where this can handy, just try listening to Thundercats dialogue (particularly Panthro) at normal speed and then again at 1.5× normal speed. To me the difference is dramatic.

Saturday, July 5, 2014

Speaking at CSS Summit

CSS Summit

In just under two weeks the 6th annual online, live CSS and SASS conference, CSS Summit, will be underway and I have been asked to speak on print styles. You don't have to deal with airports, hotels, taxis, or strangers. Heck, you don't even need to leave your desk. The event description:

Environments for Humans brings together some of the Web's most notable experts in [CSS] and [SASS] for an all-new, three-day online conference, the CSS Summit 2014! Bring the experts to your desktop July 15-July 17, 2014 from 9AM to 4PM (CT).

I'll be speaking on Tuesday, July 15 at 11am CT (10am ET). The abstract for my talk should sound familiar to those who have heard me rant about print in the past:

The push for responsive web design has helped web developers consider how the sites they develop can adapt to different devices, including sizes, screen resolutions, and even contexts.

It should now be easier than ever to respond to a format that has existed since the start of the web — print.

I'll walk through the process for making your responsive sites respond to the format we most often forget and show you how to use Google Analytics to track what pages are printed from your site.

The rest of the speaker lineup is Estelle Weyl, Jing Jin, Luis Rodriguez, Matt Carver, Jason Pamental, Rachel Andrew, Ana Tudor, Dave Arel, Russ Weakley, Rachel Nabors, Justine Jordan, Chris Eppstein, Patrick Fulton, Ben Callahan, Tab Atkins, Roy Tomeij, and Sam Richard

Whatever you do, don't pay full price. You can get 20% off by using the discount code 20ADRIAN. So go buy some tickets now and then listen to me rant. Go ahead. Really, go on, buy a ticket.

Monday, June 30, 2014

Printing from Mobile Has Improved

With more and more people relying on a mobile device as their primary computing platform, it stands to reason that more and more mobile users may want to print web page content — whether directly to a printer or as a PDF for later use (or display as in the case of scannable bar/QR codes).

Past

The state of print style support on mobile browsers has been abysmal for some time. At my talks on making sites printable I even demonstrated that by showing support in the latest and greatest (based on your platform preference) at the time (Samsung Galaxy S4 using the default Android browser). If you look at the slides (slide 50 from Stir Trek and slide 51 from WordCamp Buffalo) you'll see that the output was pretty much just the mobile layout centered in a sheet of paper, despite well-defined print styles.

Part 1 of 3, screen shot of printed output in default Android browser from May 2013. Part 2 of 3, screen shot of printed output in default Android browser from May 2013. Part 3 of 3, screen shot of printed output in default Android browser from May 2013.
Screen shots of printed output from a Samsung Galaxy S4 using the default Android browser, circa May 2013 (I forget which Android release this was). I didn't output to PDF because I couldn't at the time.

Present

Fast forward and support for print styles in mobile browsers has improved. At least for Android.

My tests on an iPad were futile, as Safari and Opera Coast both want to print to a printer (which I don't have at home) and not to a PDF. I tried to print to Google Cloud Print from Chrome on the iPad and got 404 errors. Opera Mini just doesn't seem to offer the option. Anyone with an iDevice who would like to chip in, I used the Algonquin Studios jobs page for my tests, as it typically fits on one sheet.

On Android I had better luck. The default Android browser, Chrome and Firefox all allowed me to print. None of Yandex, Opera, Opera Beta, Opera Classic nor Opera Mini offered a print option. Screen shots of where you can find the print option in these three browsers:

Android browser print dialog. Chrome print dialog. Firefox print dialog.
Screen shots of print dialogs from default Android browser (Mozilla/5.0 (Linux; Android 4.4.2; en-us; SAMSUNG SPH-L720 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/1.5 Chrome/28.0.1500.94 Mobile Safari/537.36), Chrome (Mozilla/5.0 (Linux; Android 4.4.2; SPH-L720 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.141 Mobile Safari/537.36), and Firefox (Mozilla/5.0 (Android; Mobile; rv:30.0) Gecko/30.0 Firefox/30.0).

Unlike last year's tests, the print output of each of these browsers shows that they are using the site's print styles. Which means they are truly honoring responsive design by following the appropriate media query in the appropriate context. Examples of the output:

Screen shot of Android browser print output as PDF. Screen shot of Chrome print output as PDF. Screen shot of Firefox print output as PDF.
Screen shots of the PDF files from each of the three browsers (left to right, Android browser, Chrome, Firefox). Select an image to see the full PDF, but note that the Android browser (the first one) is a 14.7MB PDF while the others are less than 60kb.

Chrome for Android

Chrome did a great job of rendering all of the elements as I expect, namely similarly to how Chrome does on my Windows machine. By default it disables background colors, which is good for me since I have two errant declarations I did not clear. It also rendered the QR code which is only generated when the user prints the page (or performs a print preview). (I have a tutorial on how you can auto-generate QR codes at print-time should that feature interest you.)

Android Browser

The Android browser behaved a bit differently than Chrome. While it also ignored background colors and also pulled down the QR code, it didn't use the custom fonts. It also greatly reduced the margin at the top of the page. Most oddly of all is that it rendered the PDF as a bitmap. A 14.7MB bitmap. Whereas in the Chrome PDF you can zoom in to see crisp edges on the text and logos (SVG), the Android browser PDF shows the constituent pixels of every otherwise vector item.

Firefox for Android

Firefox honored the background colors (oops) and the typefaces. It failed to render the QR code. Firefox also scaled the text larger than Chrome and larger than Firefox on my Windows machine. Most interestingly of all, however, was the paper size. Unlike Chrome and Android browser (8.5 × 11 inches), the paper size on Firefox's PDF is 6.67 × 11.11 inches.

Other Platforms

As I noted above, I couldn't get print to work on my iPad. I also went to the Apple store to try it, but none of the devices that I checked were either connected to a printer or could print to PDF. I don't have a Windows Phone, though I also went to the Microsoft Store and still had no luck. I don't have immediate access to a BlackBerry of any kind. If you have a device and/or browser combo I did not test, feel free to comment below and let me know what you saw.

What to Do

(Continue to) make print styles. So far it looks like they will work on current mobile browsers that allow printing or that export to PDF.

Related

If you want to learn how print media queries can be useful to you, check out any of the following links (which themselves may contain many more links).

Update: July 1, 2014

Kimberly Blessing was kind enough to test on Windows Phone, only to find that Blogger wouldn't let her comment. Her salient tweets to me follow:

November was kind enough to test on an iOS device and saw the same output as I got from Android. That's two platforms covered, which is good news in general.