Expand all

abstract ve.ui.MWAriaDescribe

Constructor

new ve.ui.MWAriaDescribe([config])abstract #

Mixin for adding descriptive ARIA support to elements.

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Properties:
Name Type Attributes Description
$ariaDescribedBy jQuery optional
ariaLabel string optional
$describedElement jQuery optional
Source:
Mixin for adding descriptive ARIA support to elements.

Methods

setAriaDescribedBy([$description]) → {OO.ui.Element}chainable #

Parameters:

Name Type Attributes Description
$description jQuery optional
Source:

Returns:

The element, for chaining

Type
OO.ui.Element

setAriaLabel(label) → {OO.ui.Element}chainable #

Parameters:

Name Type Description
label string
Source:

Returns:

The element, for chaining

Type
OO.ui.Element