PDOMSectionNode¶
Overview¶
A container type for content in the PDOM for screen reader accessibility. The container is a Node (Scenery display object), so its children will be other Nodes that may or may not have accessible content. The accessible content is a 'section' element under the an 'H2' label. Children are contained under a 'div' element, and labels will come before the accessible content of the children.
@author Jesse Greenberg (PhET Interactive Simulations)
Class PDOMSectionNode¶
Constructor¶
new PDOMSectionNode( labelStringProperty : TReadOnlyProperty<string>, providedOptions? : PDOMSectionNodeOptions )¶
Instance Methods¶
Type PDOMSectionNodeOptions¶
StrictOmit<NodeOptions, "containerTagName" | "tagName" | "labelContent" | "labelTagName">
Source Code¶
See the source for PDOMSectionNode.ts in the scenery-phet repository.