This topic has not yet been rated - Rate this topic

viewmastertab attribute | viewMasterTab property

[This documentation is preliminary and is subject to change.]

Sets or retrieves a value that indicates whether the master element of a viewlink is included in the tab sequence of the primary document.

This property is not supported for Metro style apps using JavaScript.

Syntax

HTML<element viewmastertab="p" ... >
JavaScript

p = object.viewMasterTab

Property values

Type: Boolean

VARIANT_TRUE (true)

Default. Tabbing from an element in the primary document to a viewlink sets focus to the master element.

VARIANT_FALSE (false)

Tabbing from an element in the primary document to a viewlink sets focus to the next tab stop, bypassing the master element.

Remarks

Tabbing order goes from every tab stop within the viewlink to every tab stop in the primary document, based on sequence and tabIndex value. By default, the master element participates in the tab sequence of the primary document, even if there are no tab stops defined within the viewlink.

When using a viewlink, the body element inside the viewlink is not tabbable by default; the author must set the tabIndex property if the behavior is designed to display a focus rectangle on the linked document. Setting the tabIndex property on the body of the document fragment causes the onfocus and onactivate events to fire when the viewlink document body receives focus.

See also

defaults
Reference
viewLink
Conceptual
Introduction to Viewlink
About Element Behaviors

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ