Constructor: CaptionElement

OpenAjax.a11y.cache.CaptionElement

new CaptionElement(dom_element, table_info)

Creates a caption element object which contains information obout a caption element in a table

Parameters:
Name Type Description
dom_element DOMElement Reference to the dom element object associated with caption element
table_info TableInfo Information about the current table relationships in the DOM
Properties:
Name Type Description
dom_element DOMElement Reference to the dom element object associated with caption element
cache_id String String that uniquely identifies the cache element object in the cache
parent_table_element TableElement Reference to the table element object that contatins the caption element
type Number Constant indicating the type of table cache element object
name String The text content of the caption element
name_for_comparison String The text content used for comparisons with other text content (i.e. lowercase, space normalized and trimmed)
Source:
  • scripts/cache_tables.js, line 1412

Methods

<static> getAttributes() → {Array}

Returns an array of attributes for the element, sorted in alphabetical order

Source:
  • scripts/cache_tables.js, line 1462
Returns:
Returns a array of node results
Type
Array

<static> getCacheProperties() → {Array}

Returns an array of cache properties sorted by property name

Source:
  • scripts/cache_tables.js, line 1513
Returns:
Returns a array of cache properties
Type
Array

<static> getCachePropertyValue(property) → {String|Number}

Returns the value of a property

Parameters:
Name Type Description
property String The property to retreive the value
Source:
  • scripts/cache_tables.js, line 1532
Returns:
Returns the value of the property
Type
String | Number

<static> getEvents() → {Array}

Returns an array of events for the element, sorted in alphabetical order

Source:
  • scripts/cache_tables.js, line 1481
Returns:
Returns a array of event information
Type
Array

<static> getNodeResults() → {Array}

Returns an array of node results in severity order

Source:
  • scripts/cache_tables.js, line 1448
Returns:
Returns a array of node results
Type
Array

<static> getStyle() → {Array}

Returns an array of style items

Source:
  • scripts/cache_tables.js, line 1497
Returns:
Returns a array of style items
Type
Array

<static> toString() → {String}

Creates a text string representation of the caption element object

Source:
  • scripts/cache_tables.js, line 1554
Returns:
Returns a text string representation of the caption element object
Type
String