Accessites.org’s Web Accessibility Articles & News | Accessit...
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
URL Tag Cloud
Bookmark History
Public Sticky notes
Highlighted by powmow
How, then, does one go about creating a page from a content-centric point of view? Let’s compress it into a simple step-by-step list of instructions:
- Using a text editor, write the content of the document; i.e., every piece of information that will appear on the page.
- Add semantic markup to the content, marking up paragraphs, lists, tables, emphasis, etc. Also add the ‘formal’ parts of the HTML document: the DOCTYPE declaration, the HEAD element, BODY tags, etc. (This step is often combined with the previous one.)
- If appropriate, replace parts of the content with images that illustrate or complement the text. Use the replaced text as the ALT attribute for each image. Add any decorative images (those that illustrate the article, but do not convey any relevant information). Use an empty ALT attribute (alt="") for those images.
- Create the CSS style sheet. Start with generic rules, i.e., rules that use simple element type selectors. Specify rules for basic things like font family and line height, preferably on the HTML element. Specify explicit margins and padding for all element types, since the defaults differ between browsers.
- Add rules for the page layout, using floats and/or absolute positioning. Make sure to use relative units (em or %). At this stage, it will usually be necessary to add ID and CLASS attributes to the markup. Most layouts will also require a few wrapping DIV elements to group page components.
- Add the remaining CSS rules that will handle things like background images (which may be created from a comp), colours, borders, etc. If you’re styling links, don’t forget the a:focus pseudo-class, which is vitally important to users who navigate by keyboard. (Internet Explorer or “IE” doesn’t support it, but incorrectly implements a:active for keyboard focus instead.)
Highlighted by powmow


Public Comment