Presentation is loading. Please wait.

Presentation is loading. Please wait.

Accessibility Separate semantics from style

Similar presentations


Presentation on theme: "Accessibility Separate semantics from style"— Presentation transcript:

1 Accessibility Separate semantics from style
Browsers, text-only browsers, text-to-speech synthesizers, or other software can then interpret your code as intended e.g. repeated use of <span style=‘font-weight: bold’> or <span class=‘strong’> is semantically different from <strong>

2 Accessibility Site should work for users who don’t have JavaScript or Flash Graceful degradation Buttons and links should always do something omgpop.com

3 Internal Infrastructure
Organize files into directories when it makes sense Directory organization translates into URLs Avoid spaces and capital letters Correlate directory organization, URLs, and navigation Compartmentalize and reuse code (CSS, JS, SSI) Place shared code and images in directories that reflect their utility to multiple sections of the website xavid.scripts.mit.edu/pony vs xavid.scripts.mit.edu/Pony

4 Internal Infrastructure Considerations for webmasters of group websites
Try to think about possible future use-cases for the website Comment code to explain functionality e.g. <!--Removing the following section will break the navigation--> Rule of thumb: if you had to look it up, think about it, or copied it, include a comment Use README files for extended explanations of structure Keep comments in the code short and to-the-point Point to README files in the code if necessary


Download ppt "Accessibility Separate semantics from style"

Similar presentations


Ads by Google