Articles Tagged with accessibility

You are currently browsing 1 articles tagged with accessibility.

  • Accessible, Stylish Modal Windows With Modern CSS

    Published Wednesday 12th of August 2009

    With this tutorial I will try to show you a way to do accessible, stylish modal windows (complete with an overlay-div) without using a single image and just a couple of div-elements.

    Our goal is to create a generic modal that can be re-used and that has these basic features:

    • Modals should be hidden by default, except if the user has JavaScript disabled

    • The modal should be centered in the view port, even as the user scrolls

    • The modal should have those semi-transparent, rounded corners I've been seeing a lot of lately :)

    • There should (obviously) be an overlay behind the modal, preventing the user from interacting with anything behind it

    • Clicking outside the modal (i.e. on the overlay) should hide the overlay as well as all open modals (could be optional)

    • Clicking a link pointing to a modal (a[href=#login] for example) should open the modal and display the overlay

    • Don't use any images and keep it accessible!

    You can check out the example here. We'll kick off simple with the HTML.

    Join 7 others and post a comment

Random jQuery Plug-ins

  • Equal Height

    This plug-in makes HTML-elements equal height by adjusting their min-height CSS properties. Of course IE6 has no clue what min-height means so the plu...

    Details

  • Image Zoom

    This plug-in makes links pointing to images open in the "Image Zoom". Clicking a link will zoom out the clicked image to its target-image. Click anywh...

    Details

  • Numeric DL

    This tiny plug-in numbers definitions in a definition-list if there are more than one definition for a term. Can be useful for FAQs, actual lists of d...

    Details

More Plug-ins

Recent Comments

Powered by Disqus