Theme colour switcher

Blog Topic: accessibility

Removing borders from buttons is part of many CSS resets, including mine, till recently: button,input[type="submit"] {  border: none;} However, during an accessibility test with a tester who uses high-contrast mode, I realized the problem with this. High contrast mode is used by many people with low vision or photosensitivity. It replaces your carefully-chosen website colour…

Continue reading Accessibility: don't remove borders from buttons

Without fail, in my accessibility testing with blind users, links which open in new tabs (or windows, but that's less common these days) are a problem. Often, there's no notification in the link that it will open in a new tab, as is required by WCAG Success Criterion 3.2.2 On Input. Other times, it's there but presented in an inaccessible way, such as the <title> attribute on the link. (…

Continue reading Accessibility: Just don't open links in new tabs

The title of this post might seem a little odd, but it's inspired by a recent accessibility audit where I saw the HTML <nav> region being used in some unusual ways. The MDN HTML spec defines the <nav> element this way: The <nav> HTML element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents.…

Continue reading Accessibility: What is a nav region?

One of my clients is a site which has extensive audio recordings. Their current site uses the default HTML5 audio player, but they want something that is more customizable to fit with their design and needs. One of their requests was to be able to set audio playback speed. One of my priorities was that the audio player be fully accessible. To display the audio player, they are using the Drupal…

Continue reading How I customized jPlayer for accessibility and added playback rate control, Drupal 9

A very common website pattern is a list of teasers for blog posts or articles, each with a heading, short text extract, maybe an image, and a link whose text label is something like "Read more" or "Learn more". Those "read more" links are very bad news for accessibility, mainly for blind users. Why? Blind users often hear links out of context. This may happen by tabbing through focusable elements…

Continue reading "Learn more" or "read more" links: bad news for accessibility

During lived user accessibility testing, one pattern I've repeatedly found to be a problem for blind users is multiple inputs for one piece of data. For example: A Canadian postal code with separate inputs for each character A driver's license number with three inputs, one for each set of five characters A credit card date with separate inputs for month and year Why is this done? Typically, it'…

Continue reading Multiple form inputs for one piece of data: bad news for accessibility

Recently I've been doing a lot of lived user accessibility testing, which involves observing people with disabilities using assistive technology to perform specific tasks on websites or apps. The goal is to identify the issues they encounter so the site owner can remedy them. One issue I've frequently observed, which was totally unexpected for me, is uncertainty and confusion on the part of blind…

Continue reading Accessible wording for form submit buttons

It's a nearly universal pattern in websites: the organization logo in the top left corner of the page, usually a link to the site homepage. But what text label should that link have? How the label is provided isn't what we're dealing with here (usually it's by alt text on the logo graphic), but its wording. Normally, I counsel developers and content editors to only include the visible text in an…

Continue reading Should a site's linked logo include the word "Home" in the label?

Yesterday I had an interview for a front-end developer contract. The job would have involved overseeing a small front-end team rebuilding a suite of marketing sites on a strict deadline, specifically focused on improving performance. I asked about the client's commitment to accessibility, and whether that was part of their redevelopment plan, only to be told no, it wasn't. Meeting their deadline…

Continue reading Why I turned down a job for a client not interested in accessibility

The title of this post might seem a little surprising. Isn't alternative text supposed to describe the image? That's the concept that's drilled into us, and it's what most people think of when writing alt text. However, in some situations, it's actually wrong. One of those situations is when the image is serving as the visible content of a control, such as a link or button which does not also…

Continue reading Linked image alt text should not describe the image