Jan 30, 2024
The autocomplete
attribute in HTML is actually super powerful
I always thought for some reason that this attribute only allows vendors to propose clever autocompletion in their keyboard interface.
Just today I learned that it can actually also autocomplete things like one-time-password
or contact details besides your name and e-mail.
Dec 14, 2023
Don't use HTML title
on images
When adding images, many CMS tools offer fields for both HTML alt
and title
attributes. While the former is still super important for accessible images, the latter should no longer be used. Titles might have been useful in the pure-desktop era, but they do not work with touch devices and even cause some screen readers to read both.
Dec 06, 2023
Don't say it's an image
When adding HTML alt
attributes for images, don't start with phrases like "Image of" or "Photo of". Screen readers already do that by default.