Your daily frequent11y newsletter, brought to you by @ChrisBAshton:
HTMHell special: close buttons
- Article by HTMHell picking apart the real-world implementations of the ‘close’ button. Some sites use images or SVGs with no alt text, some use ‘X’ to represent ‘close’ (which is lost on screen readers), some use
<div>
or<a>
elements where a<button>
is required. There are a few recommended solutions depending on the visual style you’re going for.
Prefer longer newsletters? You can subscribe to week11y, fortnight11y or even month11y updates! Every newsletter gets the same content; it is your choice to have short, regular emails or longer, less frequent ones. Curated with ♥ by developer @ChrisBAshton.