The HTML Police (@HTMLPolice) profile picture

If your HTML is crap, then let someone else do it.

Joined July 2020
Automated accessibility testing tools may not catch broken HTML, often failing to catch incorrect ARIA nesting as well. Yet these impact AT users. Use the HTML validator, learn HTML and ARIA, and be wary of false negatives. adrianroselli.com/2021/09/be… Also, Facebook is trash.
8
8
The HTML Police retweeted
Sometimes I think about the cumulative dev time lost to re-engineering spans into buttons with JavaScript and I remember that the web was a mistake
3
3
1
16
The HTML Police retweeted
Replying to @HTMLPolice
And also, don't underline things that are not links.
1
4
The HTML Police retweeted
Came across a table element used for layout with a summary attribute that says "this is a layout table". Now that is HTML accessibility irony!! (found this on a US government website)
5
5
11
The HTML Police retweeted
Woohoo! Excited to see if this model for styleable controls will work in browser code. The @MSEdgeDev team will be prototyping the model outlined in the explainer. I hope the prototype bolsters confidence in the design and also reveal ways it can improve groups.google.com/u/1/a/chro…
1
4
2
25
The HTML Police retweeted
Picard management tip: Tolerate failure, not incompetence. Learn the difference.
10
791
42
2,986
Things in pattern libraries / frameworks that give me the heebie-jeebies: <div> with tabindex=0, no role, and aria-hidden=true. material.angular.io/componen… Also not a fan of how it throws focus onto the button in this example.
1
2
1
4