WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: An intersting Problem

for

From: Jukka K. Korpela
Date: Feb 19, 2013 7:22AM


2013-02-19 16:10, Patrick H. Lauke wrote:

> On 19/02/2013 13:50, Michael Burks wrote:
>>
>>
>> I have an interesting problem.
>>
>> I am testing a page done in HTML 5. There are checkboxes which are not read by
>> screen readers as checkboxes. In fact it does not even recognize them as form
>> fields. However when you turn off the CSS it works just fine. Has anyone
>> encountered this situation?
>
> Could it be that the CSS sets the actual checkboxes to display:none and
> fakes the nice-looking ones with a simple div/span coupled with a click
> behavior?

Sounds very probable. Some ARIA attributes might then help to make the
page more accessible (depending on correct use of those attributes and
support to them in the software used).

This has nothing specific to do with the HTML5 language; it can be done
in any version of HTML together with CSS and JavaScript.

Yucca