search

goog.ui.ModalAriaVisibilityHelper

Provided By

Helper object to control aria visibility of the rest of the page (background) for a given element. Example usage is to restrict screenreader focus to a modal popup while it is visible.

WARNING: This will work only if the element is rendered directly in the 'body' element.

new ModalAriaVisibilityHelper( element, domHelper )

Parameters
elementElement

The given element.

domHelpergoog.dom.DomHelper

DomHelper for the page.

Instance Methods