Confirmed users
1,136
edits
m (→L10n Requirements: typos) |
|||
Line 192: | Line 192: | ||
** Use most meaningful tags for content | ** Use most meaningful tags for content | ||
** Images/bg images with text in them must have alternate textual representation (alt text or text positioned offscreen for screenreaders). Avoid these due to L10n difficulties anyway. | ** Images/bg images with text in them must have alternate textual representation (alt text or text positioned offscreen for screenreaders). Avoid these due to L10n difficulties anyway. | ||
** Use W3 Validator before you commmit to git | |||
* CSS: | * CSS: | ||
** Separate stylesheets for other browsers (IE) are ok | ** Separate stylesheets for other browsers (IE) are ok | ||
Line 215: | Line 216: | ||
*** If you need another library, please concatenate & use as little as possible | *** If you need another library, please concatenate & use as little as possible | ||
** Make JS reusable as best as possible. | ** Make JS reusable as best as possible. | ||
** Write unit tests with qunit | |||
** var your variables | ** var your variables | ||
** Use JSlint : http://www.jslint.com/ | ** Use JSlint : http://www.jslint.com/ | ||
* Python | |||
** Use PEP-8 | |||
** Use pylint, pyflakes, and other code analysis tools before commiting to git | |||
=== Performance Standards === | === Performance Standards === |