It is also interesting to mention that this could be valid to assertive tecnologies:
<divrole="img"aria-label="Something you would place in an alt attribute that describes the entire image"><imgsrc="./assets/img1.jpg"/><imgsrc="./assets/img2.jpg"/></div>
Assertive technologies will treat it as a black box and use the aria-label instead.
btw, it seems like the "resolutions" image alt was not included in the post text, just the image element.
Ah! Thanks for pointing that out to me! I'd added it to the actual alt attribute, but not included it in the copy beneath.
And thanks for your comment on aria-label's! There are now so many ways of making your site accessible - for this post I wanted to touch on the absolute bare minimum.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It is also interesting to mention that this could be valid to assertive tecnologies:
Assertive technologies will treat it as a black box and use the aria-label instead.
btw, it seems like the "resolutions" image alt was not included in the post text, just the image element.
Ah! Thanks for pointing that out to me! I'd added it to the actual alt attribute, but not included it in the copy beneath.
And thanks for your comment on aria-label's! There are now so many ways of making your site accessible - for this post I wanted to touch on the absolute bare minimum.