E-mail List Archives

Re: WCAG 2.0 Question: Converting Form to Static Version

for

From: Hewitt,Susan (DSHS)
Date: Feb 28, 2014 6:24AM


A "static" HTML form is not a form. If all that can be done is print it out and fill it in, it's become nothing but a web page. Is this what you mean by static? That it won't be able to be filled out and submitted online?

If this is your plan, I would not use native form elements such as labels, input types, etc. All this will do is confuse the screen reader user into thinking they're working with an actual form when they aren't. They're only working with a text page that's been designed to visually look like a form.

The example you shared isn't a form so it's not really an issue of meeting form standards by using images for bullets. Maybe someone else will say since what you're creating will visually look like one, you should use form elements in the markup but I really do think this would do a disservice to the screen reader user.

I'm not sure why you need to convert your true, interactive PDF form into a static HTML page. But if it's not possible to make an actual HTML form I would suggest keeping your PDF, making sure it's accessible, and putting it up alongside the static HTML page. This will give your users who are visually impaired true access to it. This is certainly the opposite of what people typically to do, though.

-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Mike -
Sent: Thursday, February 27, 2014 7:34 PM
To: <EMAIL REMOVED>
Subject: [WebAIM] WCAG 2.0 Question: Converting Form to Static Version

Hello,

We would like to convert a PDF form into a static XHTML document. Part of the PDF has fillable checkboxes. In order for the XHTML document to satisfy WCAG 2.0, can decorative images be used to represent the checkboxes?

I am referring to the approach at: http://jsfiddle.net/WLQqf/. In the example, the items are presented as an unordered list. CSS is used to change the default properties of the list; namely a checkbox image (with null alt text) replaces the standard bullets.

While a static XHTML form will never be equal to a fillable PDF from a usability standpoint, does presenting the checkboxes in this fashion satisfy WCAG 2.0 (AA)? Or does a static version of virtually any form rule out the possibility of it being compliant?

Form fields often have intricate relationships with their surrounding text, and have to be given names, roles, labels, etc. so that screen readers can correctly associate those connections.

Thanks