Skip to main content

Bug Tracker

Side navigation

#11195 closed enhancement (wontfix)

Opened January 19, 2012 05:06PM UTC

Closed January 19, 2012 05:25PM UTC

Last modified January 19, 2012 06:44PM UTC

Toggle should also toggle visibility hidden/visible

Reported by: Owned by:
Priority: low Milestone: None
Component: css Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

For accessibility purposes any toggle function should also utilize visibility: hidden and visibility: visible for maximum compatibility with a wide range of screen readers for the disabled.

Attachments (0)
Change History (3)

Changed January 19, 2012 05:25PM UTC by timmywil comment:1

component: unfiledcss
priority: undecidedlow
resolution: → wontfix
status: newclosed

This would cause a lot of unexpected behavior for our users. I suggest using the .css() method to set visibility instead.

Changed January 19, 2012 05:29PM UTC by dmethvin comment:2

Agree with timmywil here, it's too disruptive for us to change jQuery's behavior of show/hide. Instead you could implement your own small plugins that change all related css and use those instead. Or better still, use classes along with addClass/removeClass since that will allow you to attach CSS transitions as well.

Changed January 19, 2012 06:44PM UTC by comment:3

What about an alternate toggle function such that you have with Width, outerWidth etc?

This is a common bit of accessibility which I feel shouldn't be something that has to be custom coded in every case.