An alt Decision Tree | Web Accessibility Initiative (WAI) | W3C
A great resource to understand how to use the alt
attribute in various situations.
A great resource to understand how to use the alt
attribute in various situations.
I keep forgetting, but the alt
attribute of the <img>
element is not just useful for users who are visually impaired. It is also useful when the image is not displayed in the browser for whatever reason. For example: the src
attribute does not contain a valid path to an image.
I re-read Heydon Pickering’s post on the HTML article element in the middle of writing the markup for a new website.
Heydon’s writing is so sharp and funny. Unmistakably theirs. No one else writes quite like them, and I’m here for it.
I was reading Manuel Matuzovic’s article on meta theme color and came across this snippet:
<style> :root { --theme: blue; }</style><meta name="theme-color" content="var(--theme)" />
I wish it was possible to access custom properties outside the <style>
tag in the <head>
. It would keep things DRY.