> Alternative text: High All <img> have an alternative text which describe the image visually.
Please don't do that. Don't put an alt on ALL images. Screen readers will read all of them. Skin and flavour images don't deserve to be read outloud. Nobody wants to hear "bottom left corner of logo" or "rounded corner".
Typically you’d use background images for something like that. Regardless, if you do have an image that doesn’t add anything to the information on the page 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.
Seconding this. It very much depends on the purpose of the image. If an image or any other tag is extraneous in a screen reader context use the `aria-hidden`[1] attribute to exclude it.
A good example is an image used as an icon next to a text label. Imagine a link/button that contains the words "Save" and a floppy disk icon. There's no need to have an alt of "Save" on the icon as the text "Save" is already present. So it would look something like this:
> Nobody wants to hear "bottom left corner of logo" or "rounded corner".
I would assume front-end guys care more about passing a Web Accessibility[0] audit than inconveniencing some users, thus good taste and wise discretion is spared for avoidance of litigation.
Note that you don't actually need the head or body tags in your page. The browser already knows what is allowed in the head. It looks weird at first, but you can write your html like so:
The fact that browsers are able to handle malformed HTML doesn't mean that you should do it that way. There's no meaningful benefit that I can think of, and the potential to break a ton of things that aren't as lenient.
These are very subjective, I've never done half of the 'high' priority items, and I've never had any issues with my site having a 'disfunction'. Take this list with a gigantic grain of salt.
For example, your site certainly won't break from missing the 'lang' attribute.
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.
Seems like this could be presented without as much clutter. Not really useful at a glance for a checklist. Also, some of the info isn't well researched and lacks citations for claims as others have mentioned.
One would be better off just using the Google Web Starter kit[1], other boilerplate options, or just chrome dev tools running Audits to get started with a solid front-end.
This would be a good checklist for anyone considering building a UI framework. This kind of thing is the reason Bootstrap & friends are so large - they do a lot for you.
I can't help but notice there's no "Security" section. Perhaps by the time you've got the HTML rendering it's too late, but SRI tags, CSP headers and whatnot all deserve some mention.
Here's a better checklist: Run a W3 validator on your HTML, fix the red stuff that isn't too annoying to fix. Launch. Deal with all that other stuff later.
>Pixel perfect: High Pages are close to pixel perfect. Depending on the quality of the creatives, you may not be 100% accurate, but your page needs to be close to your template.
An oft overstated thing -- but the organization of CSS is currently being massaged by the front end community, and in-line CSS is no longer considered an awful thing with Radium and others.
If you're using wordpress or another pre-baked system, then it's worth having a sitemap plugin (example: Yoast SEO) or the built-in sitemap (like for Shopify).
Submit it to Google Search Console, Bing, and you're done (essentially).
[+] [-] Raphmedia|8 years ago|reply
Please don't do that. Don't put an alt on ALL images. Screen readers will read all of them. Skin and flavour images don't deserve to be read outloud. Nobody wants to hear "bottom left corner of logo" or "rounded corner".
[+] [-] robin_reala|8 years ago|reply
[+] [-] leepowers|8 years ago|reply
A good example is an image used as an icon next to a text label. Imagine a link/button that contains the words "Save" and a floppy disk icon. There's no need to have an alt of "Save" on the icon as the text "Save" is already present. So it would look something like this:
Though in this case you'd probably be using an icon font like FontAwesome.[1] https://stackoverflow.com/questions/31107040/whats-the-diffe...
[+] [-] FilterSweep|8 years ago|reply
I would assume front-end guys care more about passing a Web Accessibility[0] audit than inconveniencing some users, thus good taste and wise discretion is spared for avoidance of litigation.
[0] https://www.w3.org/TR/WCAG20-TECHS/H37.html
[+] [-] rimliu|8 years ago|reply
[+] [-] MatthewPhillips|8 years ago|reply
[+] [-] Deimorz|8 years ago|reply
---
Original comment:
The fact that browsers are able to handle malformed HTML doesn't mean that you should do it that way. There's no meaningful benefit that I can think of, and the potential to break a ton of things that aren't as lenient.
[+] [-] davedx|8 years ago|reply
For example, your site certainly won't break from missing the 'lang' attribute.
[+] [-] groby_b|8 years ago|reply
Your site isn't "broken", per se, but it's not as high quality as it could be.
[+] [-] DerfNet|8 years ago|reply
[+] [-] ozaark|8 years ago|reply
One would be better off just using the Google Web Starter kit[1], other boilerplate options, or just chrome dev tools running Audits to get started with a solid front-end.
[1] https://developers.google.com/web/tools/starter-kit/
[+] [-] rco8786|8 years ago|reply
[+] [-] sergeyfilippov|8 years ago|reply
I've helped a friend to publish a one-page website over the weekend, and I believe it follows most of this checklist
[+] [-] speedplane|8 years ago|reply
[+] [-] amk_|8 years ago|reply
[+] [-] frio|8 years ago|reply
https://github.com/thedaviddias/Front-End-Checklist/issues/2...
[+] [-] ravenstine|8 years ago|reply
So what unit should be used?
[+] [-] CM30|8 years ago|reply
(They generally assume these values are in pixels by default[1])
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/im...
[+] [-] stefantheard|8 years ago|reply
[+] [-] speedplane|8 years ago|reply
[+] [-] franze|8 years ago|reply
why?
[+] [-] Teichopsia|8 years ago|reply
[+] [-] stephenr|8 years ago|reply
[+] [-] sjmulder|8 years ago|reply
[+] [-] swoongoonz|8 years ago|reply
What is this 2004?
[+] [-] threatofrain|8 years ago|reply
[+] [-] adad95|8 years ago|reply
[+] [-] chente|8 years ago|reply
[+] [-] jkaljundi|8 years ago|reply
[+] [-] hayksaakian|8 years ago|reply
If you're using wordpress or another pre-baked system, then it's worth having a sitemap plugin (example: Yoast SEO) or the built-in sitemap (like for Shopify).
Submit it to Google Search Console, Bing, and you're done (essentially).
[+] [-] miguelrochefort|8 years ago|reply
[+] [-] iKenshu|8 years ago|reply
[+] [-] techtalsky|8 years ago|reply
[+] [-] miguelrochefort|8 years ago|reply
[+] [-] mycentstoo|8 years ago|reply
[+] [-] laktek|8 years ago|reply