← All topics

Accessibility

All writing →

15 posts filed under Accessibility, newest first.

10 min

h4 was the right size

I pulled up the list of headings on a client's page and got the company name and three things at level four, with the actual subject of the page missing from the list entirely because somebody had built it out of a div.

HTML Accessibility
7 min

Printing an accordion

A customer saved a client's returns page as a PDF and got back a column of questions with white space under every one of them, which is what an accordion does when it meets a printer.

HTML Accessibility
7 min

A modal is a form

I deleted a focus trap last October and was extremely pleased with myself, then read the dialog element's documentation properly and found the one method call that had been doing that job, and 4 others, since 2022.

HTML Accessibility
10 min

The popover attribute

Somebody at a client's office emailed to say the order filters sent them back to the beginning every time they used them, and the fix was deleting the 180 lines I had written to do that job badly.

HTML Accessibility
8 min

color-scheme and the white flash

A client's site was flashing white on every load for anyone whose operating system is dark, and the declaration that fixed it also closed the unreadable checkout dropdown I'd had filed under Chrome being weird for months.

CSS Accessibility
8 min

I couldn't read it in the sun

I took my phone out to the front steps to look at a page I'd built, couldn't read a word of it, and then found that every pair of colors on it cleared the threshold with room to spare.

Accessibility CSS
9 min

Focus went to the logo

I applied a filter on a client's product listing with the keyboard and the next Tab put me on the site logo, which is the browser doing exactly what it's supposed to do with a focused element that stopped existing.

Accessibility JavaScript
9 min

Six kinds of white

A client asked what it would take for their site to go dark along with their laptop, I said half a day, and then I searched the stylesheet for white and got 61 results.

CSS Accessibility
8 min

The apology

A parallax hero I was pretty pleased with gave a coworker a headache that lasted the rest of the afternoon, and they were the one who said sorry.

Accessibility CSS
7 min

Alt text is writing

Every image on the site had an alt attribute, the checker reported zero errors, and not one of those attributes told anybody anything because filling in a field and writing a sentence turn out to be different jobs.

Accessibility
2 min

abbr and the title attribute

The abbreviation element is one of about four places in HTML where the title attribute is the actual content rather than a decoration, and it is still unreachable for anybody not holding a mouse.

HTML Accessibility Small Print