Django Uni-Form
Who am I?
Who am I?
       Daniel Greenfeld
Who am I?
       Daniel Greenfeld

       NASA Geek
Who am I?
       Daniel Greenfeld

       NASA Geek

       Pinax Core Developer
Who am I?
       Daniel Greenfeld

       NASA Geek

       Pinax Core Developer

       Djangonaut!
What is Section 508?

In 1998 the US Congress amended the Rehabilitation Act to
require Federal agencies to make their electronic and
information technology accessible to people with disabilities.
Section 508 was enacted to eliminate barriers in information
technology, to make available new opportunities for people with
disabilities, and to encourage development of technologies that
will help achieve these goals. The law applies to all Federal
agencies when they develop, procure, maintain, or use
electronic and information technology. Under Section 508 (29
U.S.C. § 794d), agencies must give disabled employees and
members of the public access to information that is comparable
to the access available to others.

           -Wikipedia (http://en.wikipedia.org/wiki/Section_508)
What is Section 508?
What is Section 508?

 Rules for making technology theoretically accessible by
 individuals with disability.
What is Section 508?

 Rules for making technology theoretically accessible by
 individuals with disability.

 Easy to implement if you know how.
What is Section 508?

 Rules for making technology theoretically accessible by
 individuals with disability.

 Easy to implement if you know how.

 Unfortunately doesn't actually force software to be
 accessible to the disabled.
What is Section 508?

 Rules for making technology theoretically accessible by
 individuals with disability.

 Easy to implement if you know how.

 Unfortunately doesn't actually force software to be
 accessible to the disabled.

 Enforceable across all government agencies or
 organizations accepting money from government agencies.
Why do we care?
Why do we care?

 US Government work requires it.
Why do we care?

 US Government work requires it.

 Disability software is said to be a $170 billion a year
 industry.
Why do we care?

 US Government work requires it.

 Disability software is said to be a $170 billion a year
 industry.

 Open source tends to support accessibility/usability well.
Why do we care?

 US Government work requires it.

 Disability software is said to be a $170 billion a year
 industry.

 Open source tends to support accessibility/usability well.


 Its the right thing to do!
Lets get technical
Tables are for tabular data
In Section 508, most tabular forms are forbidden!
In Section 508, some tabular forms are allowed
Django forms rock!
Normal forms rock!
Model forms rock!
Forms as paragraphs
Forms as unordered lists
Out of the box pretty Django forms are tabular
Django forms summary

 Native views of Django forms can be Section 508 compliant

 Hard to do form-style layouts with paragraphs

 Harder to do form-style layouts with unordered lists

 Table based formats are mostly verboten

 Django docs do show how to do div based forms
Spacebook
Spacebook          FORMS
                                   FORMS
       FORMS
                     FORMS
                               FORMS

                                 FORMS

          FORMS
                       FORMS       FORMS

  FORMS

 Too many forms!                   FORMS
                     FORMS
Django Uni-Form =
Django forms docs on divs +
Simple Django custom filter +
Dragan Babić's Uni-Form library
Django Uni-Form =

Django forms docs + template tag +
   Uni-Form css/js forms library
http://github.com/pydanny/django-uni-form
Who uses it?
Basic Usage
Intermediate Usage I
Intermediate Usage II
Layout Controls - The Form
Layout Controls - The Controls
Layout Controls - The Template
The Future of
Django Uni-Form
Contributing Back
http://github.com/pydanny/django-uni-form