WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Dynamic fields - disabled CSS experience?

for

From: Judith.A.Blankman
Date: Nov 9, 2016 3:56PM


Bikir,

I'm not the developer, so not exactly sure what they are using, but I assume they are using the correct CSS attribute to hide the info dynamically until it is relevant.

I will pass the option to use the HTML hidden attribute, in case that might help.


Thanks!

Judith



On 11/5/16, 6:22 AM, "WebAIM-Forum on behalf of Birkir R. Gunnarsson" < <EMAIL REMOVED> on behalf of <EMAIL REMOVED> > wrote:

By disabled CSS, do you mean using display: none; to hide form fields
until they become relevant, then dynamically display them baed on user
interactions with other parts of the form?
What about using the html hidden attribute in addition to display:
none; to hide the content?
https://davidwalsh.name/html5-hidden

Just make sure that the reading and focus order of the content is logical.



On 11/4/16, <EMAIL REMOVED>
< <EMAIL REMOVED> > wrote:
> Thanks, Jonathan, really appreciate your response!
>
> On 11/4/16, 4:31 PM, "WebAIM-Forum on behalf of Jonathan Avila"
> < <EMAIL REMOVED> on behalf of
> <EMAIL REMOVED> > wrote:
>
> > I'm also wondering if turning off CSS when using online forms is a
> likely use case for people with low vision, who have display preferences for
> a range of needs, or prefer their own style sheets, etc. Or, do people with
> display preferences choose to not turn off CSS when using online forms due
> to their complexity?
>
> Some people with low vision create their own stylesheets to layer in
> customize colors, fonts, spacing, etc. and may want to change content or put
> content into one column. In most but not all of these situations people are
> adding their own stylesheet on top of the sites existing stylesheets. It is
> not a requirement of the current WCAG 2 Level A or AA to work with CSS
> completely turned off. The current Section 508 standards do imply documents
> should work without a stylesheet -- but this will soon be replaced by WCAG 2
> and many people do not enforce this. Most modern content defines CSS for
> different breakpoints and content is often hidden until used -- so it's not
> unreasonable to expect the display and visibility styles on a web page to be
> respected.
>
> FYI According to the WebAIM low vision survey in 2013 19% of people
> changed the page colors or style sheets
> http://webaim.org/projects/lowvisionsurvey/#at
>
> Jonathan
>
> Jonathan Avila
> Chief Accessibility Officer
> SSB BART Group
> <EMAIL REMOVED>
> 703.637.8957 (Office)
>
> Visit us online: Website | Twitter | Facebook | Linkedin | Blog
> Check out our Digital Accessibility Webinars!
>
>
>