MCPcopy Create free account
hub / github.com/UI5/webcomponents / getAriaDescriptionForTable

Function getAriaDescriptionForTable

packages/main/src/TableSelectionBase.ts:112–119  ·  view source on GitHub ↗

* Returns the ARIA description of the Table as an alternative to aria-multiselectable.

()

Source from the content-addressed store, hash-verified

110 * Returns the ARIA description of the Table as an alternative to aria-multiselectable.
111 */
112 getAriaDescriptionForTable(): string | undefined {
113 if (!this._table || !this._table.rows.length) {
114 return undefined;
115 }
116
117 const i18nBundle = (this._table.constructor as typeof Table).i18nBundle;
118 return i18nBundle.getText(this.isMultiSelectable() ? TABLE_MULTI_SELECTABLE : TABLE_SINGLE_SELECTABLE);
119 }
120
121 /**
122 * Returns the ARIA description of the selection component displayed in the column header.

Callers

nothing calls this directly

Calls 2

getTextMethod · 0.80
isMultiSelectableMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…