https://github.com/thedaviddias/Front-End-Checklist/issues/2...
Front-End Checklist
61–70 of 82 posts
Re: Front-End Checklist
#62Re: Front-End Checklist
#63What would be a great idea is an app that scans for the presence of these conditions.
Re: Front-End Checklist
#64Re: Front-End Checklist
#65Earlier quoted context omitted.
This recommendation would be fine 20 years ago. You should not have any decorative images in your markup, they belong to CSS.
Some people like myself work in places where there are still some clients that ask for IE6 compatibility and have to comply with WCAG 2.0 accessibility standards.
Re: Front-End Checklist
#66Following this list is a great way to never launch something into production.
Re: Front-End Checklist
#67Re: Front-End Checklist
#68Earlier quoted context omitted.
No. But e.g. automated translation now needs to guess your language, and that's... not always successful. Screenreaders will need to guess the language to pronounce properly. Search engines will have to infer the language. And so on. Your site isn't "broken", per se, but it's not as high quality as it could be.
I wonder how much lang=en can actually be trusted—enough things put it in by default that I can easily imagine its presence on non-English pages. Update: from elsewhere on this thread, Google ignores : > But the language attribute within the HTML markup is something we don't use at all. We've found that this language markup is something that is almost always wrong. So we tend to ignore that. https://www.seroundtable.…
FWIW, Chrome's translate feature does care about lang=. Or at least it did last time I checked.
It's one of the things that has no downside, and a small upside. If you leave it out, your site isn't horribly broken. People will always get the content, but tools that process the content might be wrong.
Re: Front-End Checklist
#69Re: Front-End Checklist
#70Earlier quoted context omitted.
Exactly. Every img element should have an alt attribute; those with visual content should have explanatory text in it.
What is the value of having an alt attribute if its value is blank? Just to tell someone poking at the source code that, "yeah, I know I'm supposed to have this, and it's intentionally left blank"?
> give it an empty alt attribute to indicate to the screen reader that it shouldn’t try to read out the file name or something