* Gets an ARIA-friendly label representation of this field's value. * * Note that implementations should generally always override this value to * ensure a non-null value is returned. The default implementation relies on * 'getText' which may return an empty string. A null return value f
()
| 338 | * currently defined or known for the field. |
| 339 | */ |
| 340 | getAriaValue(): string | null { |
| 341 | if (this.getValue() == null) { |
| 342 | return null; |
| 343 | } else { |
| 344 | return this.getText(); |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | /** |
| 349 | * Computes a descriptive ARIA label to represent this field with configurable |