Heading levels are an outline
On a page I audited last month the only `h1` was the logo, the section headings were all `h4` because `h4` was the right size, and the actual page title was a `div` with a class on it.
12 posts filed under Accessibility, newest first.
On a page I audited last month the only `h1` was the logo, the section headings were all `h4` because `h4` was the right size, and the actual page title was a `div` with a class on it.
An FAQ page arrived on my desk with about 200 lines of JavaScript running an accordion, and the two elements that do it natively have been in every browser since 2020 and got the missing feature last winter.
I have built the same modal four times across four projects, each one slightly different, each one getting a different two of the six behaviors wrong, and there has been an element for it since before the second one.
I replaced a dropdown component last month and it went from about 180 lines of JavaScript to an attribute, and the six behaviors I'd hand-written were all better in the version I deleted them for.
I pressed Tab once on a client's homepage and focus went straight to a chat widget in the footer, past the entire page, because somewhere in that widget's markup was a positive number.
A page I'd checked properly, that passed every automated tool I own, was unreadable on my own phone in a beer garden in June, and the number had nothing to say about why.
A full page load does a small piece of housekeeping nobody has ever had to think about. Swap content with JavaScript and you have quietly taken it on, almost certainly without noticing.
Somebody typed a phone number with spaces in it, was told "Invalid input" three times, and gave up. The cause was a string written by a developer at the moment they were least interested in writing.
Two clients have asked me this year whether their site is accessible, both of them because somebody frightened them about a deadline, and both times the useful answer came out of a quarter of an hour and a browser.
A client asked how long a dark mode would take and I said half a day, because I was thinking about colors, and the colors were about an hour of it.
I built a parallax hero because a client asked for one, showed it to a colleague, and they asked me to close the tab, and then had a headache for the rest of the afternoon.
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.