Compartilhar via


About Invisible Objects

This section describes the additional state information that is available for invisible objects with Windows Internet Explorer.

Objects are invisible when:

With Internet Explorer, the pvarState parameter of the IAccessible::get_accState method receives STATE_SYSTEM_OFFSCREEN when the object is invisible because of scrolling and receives STATE_SYSTEM_INVISIBLE when the object is invisible because its IHTMLStyle::visibility property is set to hidden, or its IHTMLStyle::display property is set to none. With earlier versions of Internet Explorer,pvarState always receives STATE_SYSTEM_INVISIBLE when an object is invisible.

Note  The pvarState parameter of the IAccessible::get_accState method does not receive STATE_SYSTEM_INVISIBLE for frame objects with their IHTMLFrameElement2::height or IHTMLFrameElement2::width DOM content properties or their IHTMLStyle::height or IHTMLStyle::width style properties set to 0. Your accessibility aid should check frame objects for a 0 height or width, and represent all the elements in that frame as not visible.